Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, allocations: 122.1 kB / 18.46 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002023/0.002023, allocations: 211.3 kB / 21.41 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.5 MB / 251.7 MB, free: 252 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2327/0.2327, allocations: 46.16 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002444/0.002444, allocations: 77 kB / 489.7 MB, free: 28.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1247, allocations: 62.45 MB / 0.5392 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001625/0.1264, allocations: 0.5204 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.1272, allocations: 419.1 kB / 0.5401 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.1273, allocations: 0 / 0.5401 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1273, allocations: 0 / 0.5401 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.1273, allocations: 7.938 kB / 0.5401 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.1279, allocations: 135.8 kB / 0.5402 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.681e-05/0.128, allocations: 35.91 kB / 0.5402 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.1281, allocations: 7.938 kB / 0.5403 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.629e-05/0.1281, allocations: 8 kB / 0.5403 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.112e-05/0.1282, allocations: 27.84 kB / 0.5403 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.1282, allocations: 4 kB / 0.5403 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.1285, allocations: 167.8 kB / 0.5405 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.1285, allocations: 3.984 kB / 0.5405 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.1286, allocations: 19.88 kB / 0.5405 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.1288, allocations: 127.6 kB / 0.5406 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1288, allocations: 0 / 0.5406 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1288, allocations: 0 / 0.5406 GB, free: 3.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1288, allocations: 0 / 0.5406 GB, free: 3.32 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005161/0.1293, allocations: 371.1 kB / 0.541 GB, free: 2.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1294, allocations: 8.031 kB / 0.541 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.71e-05/0.1294, allocations: 38.75 kB / 0.541 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1295, allocations: 8.875 kB / 0.541 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1296, allocations: 172.3 kB / 0.5412 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.1297, allocations: 384 / 0.5412 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.1297, allocations: 8.375 kB / 0.5412 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1298, allocations: 65.98 kB / 0.5412 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1299, allocations: 0 / 0.5412 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1299, allocations: 11.97 kB / 0.5413 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1299, allocations: 8 kB / 0.5413 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.13, allocations: 43.84 kB / 0.5413 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002239/0.1302, allocations: 177.6 kB / 0.5415 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1304, allocations: 82.55 kB / 0.5415 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.1304, allocations: 32.84 kB / 0.5416 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.1307, allocations: 101.1 kB / 0.5417 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1308, allocations: 38.5 kB / 0.5417 GB, free: 1.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.1308, allocations: 0 / 0.5417 GB, free: 1.988 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1299/0.2607, allocations: 5.615 MB / 0.5472 GB, free: 12.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.2608, allocations: 63.2 kB / 0.5473 GB, free: 12.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.2609, allocations: 89.86 kB / 0.5473 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.2609, allocations: 29.7 kB / 0.5474 GB, free: 12.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.2609, allocations: 80.52 kB / 0.5474 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/0.261, allocations: 91.19 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.2611, allocations: 57.67 kB / 0.5476 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2613, allocations: 330.9 kB / 0.5479 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.2617, allocations: 111.9 kB / 0.548 GB, free: 11.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003447/0.262, allocations: 115.9 kB / 0.5481 GB, free: 11.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.2634, allocations: 321 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2634, allocations: 4 kB / 0.5484 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001189/0.2646, allocations: 349.2 kB / 0.5488 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2647, allocations: 7.984 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.2647, allocations: 7.938 kB / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2647, allocations: 0 / 0.5488 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.2651, allocations: 79.92 kB / 0.5489 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2651, allocations: 7.922 kB / 0.5489 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.2653, allocations: 23.91 kB / 0.5489 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2653, allocations: 23.97 kB / 0.5489 GB, free: 10.52 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * 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 0.0001186/0.2654, allocations: 121.8 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.2655, allocations: 7.953 kB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.2669, allocations: 429.8 kB / 0.5494 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.2669, allocations: 4 kB / 0.5494 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2669, allocations: 0 / 0.5494 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.2669, allocations: 3.938 kB / 0.5495 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.2691, allocations: 0.7837 MB / 0.5502 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2691, allocations: 0 / 0.5502 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002754/0.2694, allocations: 71.92 kB / 0.5503 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.954e-06/0.2694, allocations: 4 kB / 0.5503 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.2694, allocations: 20.05 kB / 0.5503 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2695, allocations: 0 / 0.5503 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2695, allocations: 0 / 0.5503 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.2707, allocations: 433 kB / 0.5507 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.2708, allocations: 85.06 kB / 0.5508 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.2708, allocations: 11.94 kB / 0.5508 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.271, allocations: 27.97 kB / 0.5508 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.271, allocations: 15.97 kB / 0.5509 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.2711, allocations: 12 kB / 0.5509 GB, free: 8.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.398e-05/0.2711, allocations: 79.27 kB / 0.5509 GB, free: 8.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2711, allocations: 0 / 0.5509 GB, free: 8.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001642/0.2728, allocations: 0.6246 MB / 0.5516 GB, free: 7.695 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.004474/0.2772, allocations: 1.147 MB / 0.5527 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.2781, allocations: 267.5 kB / 0.5529 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2781, allocations: 3.938 kB / 0.5529 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004236/0.2785, allocations: 131.8 kB / 0.5531 GB, free: 6.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2788, allocations: 8 kB / 0.5531 GB, free: 6.113 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.2804, allocations: 420.6 kB / 0.5535 GB, free: 5.648 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.2808, allocations: 0.7009 MB / 0.5542 GB, free: 4.918 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002329/0.281, allocations: 77.08 kB / 0.5542 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.2812, allocations: 59.33 kB / 0.5543 GB, free: 4.785 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2812, allocations: 0 / 0.5543 GB, free: 4.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.338/0.6192, allocations: 55.07 MB / 0.6081 GB, free: 65.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/8.793, allocations: 14.3 kB / 0.6081 GB, free: 65.06 MB / 462.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.823228347930126] Failed to read output from testmodel.py, exit status != 0: ['time', 'x', 'y1', 'y1d', 'y1dd', 'y2', 'y2d', 'y2dd', 'y3', 'y3d', 'y3dd', 'y4', 'y4d', 'y4dd'] 8.874521597055718 8.899091157 8.765892394 Calling exit ...