Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 109 kB / 20.48 MB, free: 1.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002455/0.002455, allocations: 211.9 kB / 23.79 MB, free: 4.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.219/0.219, allocations: 44.24 MB / 331.1 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.84 kB / 468.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 61.04 MB / 0.5169 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001711/0.1117, allocations: 0.5142 MB / 0.5174 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000372/0.112, allocations: 99.7 kB / 0.5175 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.1121, allocations: 0 / 0.5175 GB, free: 6.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.1121, allocations: 3.938 kB / 0.5175 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.312e-05/0.1121, allocations: 0 / 0.5175 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.1123, allocations: 11.98 kB / 0.5175 GB, free: 6.734 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.494e-05/0.1124, allocations: 11.98 kB / 0.5175 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.1124, allocations: 4 kB / 0.5175 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.1124, allocations: 15.88 kB / 0.5175 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.602e-05/0.1125, allocations: 11.97 kB / 0.5176 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.1125, allocations: 0 / 0.5176 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.1126, allocations: 35.97 kB / 0.5176 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.1126, allocations: 3.938 kB / 0.5176 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.1126, allocations: 4 kB / 0.5176 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.1127, allocations: 28.12 kB / 0.5176 GB, free: 6.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1127, allocations: 0 / 0.5176 GB, free: 6.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1127, allocations: 4 kB / 0.5176 GB, free: 6.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.1128, allocations: 0 / 0.5176 GB, free: 6.617 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000368/0.1131, allocations: 258.3 kB / 0.5179 GB, free: 6.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1132, allocations: 12.03 kB / 0.5179 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.269e-05/0.1132, allocations: 192 / 0.5179 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.1132, allocations: 34.75 kB / 0.5179 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.1132, allocations: 0.9375 kB / 0.5179 GB, free: 6.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.1133, allocations: 106.5 kB / 0.518 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1133, allocations: 8.359 kB / 0.518 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.1134, allocations: 4.375 kB / 0.518 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1135, allocations: 59.66 kB / 0.5181 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1135, allocations: 4 kB / 0.5181 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.1135, allocations: 0 / 0.5181 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1135, allocations: 0 / 0.5181 GB, free: 6.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.1136, allocations: 12 kB / 0.5181 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1139, allocations: 296.1 kB / 0.5184 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.776e-05/0.114, allocations: 30.55 kB / 0.5184 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.114, allocations: 12.86 kB / 0.5184 GB, free: 5.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.114, allocations: 3.938 kB / 0.5184 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.114, allocations: 30.56 kB / 0.5185 GB, free: 5.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.114, allocations: 0 / 0.5185 GB, free: 5.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001995/0.1142, allocations: 69.61 kB / 0.5185 GB, free: 5.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.1143, allocations: 55.41 kB / 0.5186 GB, free: 5.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.1144, allocations: 93.84 kB / 0.5187 GB, free: 5.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1144, allocations: 29.7 kB / 0.5187 GB, free: 5.34 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.1144, allocations: 80.14 kB / 0.5188 GB, free: 5.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.1144, allocations: 11.91 kB / 0.5188 GB, free: 5.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1145, allocations: 17.72 kB / 0.5188 GB, free: 5.223 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1146, allocations: 314.8 kB / 0.5191 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.1146, allocations: 4.125 kB / 0.5191 GB, free: 4.902 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.1146, allocations: 25.72 kB / 0.5191 GB, free: 4.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.1147, allocations: 33.64 kB / 0.5192 GB, free: 4.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1147, allocations: 0 / 0.5192 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.988e-05/0.1148, allocations: 57.86 kB / 0.5192 GB, free: 4.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1148, allocations: 4 kB / 0.5192 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1148, allocations: 0 / 0.5192 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1148, allocations: 0 / 0.5192 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.1149, allocations: 12.03 kB / 0.5192 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1149, allocations: 3.938 kB / 0.5192 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.188e-05/0.1149, allocations: 15.88 kB / 0.5193 GB, free: 4.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.1149, allocations: 0 / 0.5193 GB, free: 4.734 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.115, allocations: 121.8 kB / 0.5194 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.115, allocations: 0 / 0.5194 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.1151, allocations: 65.5 kB / 0.5194 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1152, allocations: 0 / 0.5194 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1152, allocations: 0 / 0.5194 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1152, allocations: 4 kB / 0.5194 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.1153, allocations: 128.7 kB / 0.5196 GB, free: 4.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1153, allocations: 4 kB / 0.5196 GB, free: 4.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.1154, allocations: 7.938 kB / 0.5196 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1154, allocations: 0 / 0.5196 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.1154, allocations: 4 kB / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1154, allocations: 0 / 0.5196 GB, free: 4.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1154, allocations: 7.922 kB / 0.5196 GB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.1155, allocations: 155.5 kB / 0.5197 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.1155, allocations: 7.984 kB / 0.5197 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.1155, allocations: 0 / 0.5197 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.1156, allocations: 0 / 0.5197 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1156, allocations: 0 / 0.5197 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.1156, allocations: 4 kB / 0.5197 GB, free: 4.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1156, allocations: 79.28 kB / 0.5198 GB, free: 4.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1156, allocations: 0 / 0.5198 GB, free: 4.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1159, allocations: 7.984 kB / 0.5198 GB, free: 4.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004626/0.1163, allocations: 0.6929 MB / 0.5205 GB, free: 3.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.1164, allocations: 19.98 kB / 0.5205 GB, free: 3.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1164, allocations: 7.938 kB / 0.5205 GB, free: 3.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.1165, allocations: 12 kB / 0.5205 GB, free: 3.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1167, allocations: 3.938 kB / 0.5205 GB, free: 3.305 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.1171, allocations: 142.5 kB / 0.5207 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1174, allocations: 0.6807 MB / 0.5213 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.1174, allocations: 320 / 0.5213 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.1175, allocations: 11.44 kB / 0.5214 GB, free: 2.406 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1175, allocations: 0 / 0.5214 GB, free: 2.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.1387, allocations: 1.449 MB / 0.5228 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.13, allocations: 12.75 kB / 0.5228 GB, free: 0.9531 MB / 398.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.013561629981268] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y', 'yd', 'k1', 'k2'] 11.290096046985127 11.318018957 11.200324555 Calling exit ...