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.001245/0.001245, allocations: 117.3 kB / 20.22 MB, free: 1.914 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.001454/0.001454, allocations: 219.3 kB / 23.48 MB, free: 5.148 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.404/1.404, allocations: 230.2 MB / 256.8 MB, free: 8.57 MB / 206.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.2186/0.2186, allocations: 46.89 MB / 360 MB, free: 4.727 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.002269/0.002269, allocations: 75.88 kB / 0.4951 GB, free: 8.555 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3221, allocations: 65.99 MB / 0.5595 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001842/0.3239, allocations: 0.5305 MB / 0.56 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.3247, allocations: 410.7 kB / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.3248, allocations: 0 / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.433e-05/0.3248, allocations: 0 / 0.5604 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.3248, allocations: 3.938 kB / 0.5604 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.3254, allocations: 147.4 kB / 0.5606 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.635e-05/0.3255, allocations: 27.91 kB / 0.5606 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.3255, allocations: 4 kB / 0.5606 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.3255, allocations: 19.92 kB / 0.5606 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.3256, allocations: 23.91 kB / 0.5606 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3256, allocations: 0 / 0.5606 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.3259, allocations: 159.8 kB / 0.5608 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.3259, allocations: 8 kB / 0.5608 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.326, allocations: 19.86 kB / 0.5608 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3262, allocations: 129.7 kB / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3262, allocations: 0 / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3262, allocations: 0 / 0.5609 GB, free: 3.531 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3262, allocations: 4 kB / 0.5609 GB, free: 3.527 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.0004543/0.3267, allocations: 367.1 kB / 0.5613 GB, free: 3.121 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.3267, allocations: 12.03 kB / 0.5613 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.3267, allocations: 34.69 kB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.3268, allocations: 8.891 kB / 0.5614 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3269, allocations: 160.4 kB / 0.5615 GB, free: 2.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3269, allocations: 12.38 kB / 0.5615 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.327, allocations: 16.3 kB / 0.5615 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3271, allocations: 65.98 kB / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3271, allocations: 0 / 0.5616 GB, free: 2.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3271, allocations: 4 kB / 0.5616 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3271, allocations: 0 / 0.5616 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.3272, allocations: 47.89 kB / 0.5616 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.3274, allocations: 177.6 kB / 0.5618 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.3276, allocations: 94.45 kB / 0.5619 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.3276, allocations: 24.86 kB / 0.5619 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.3279, allocations: 101.1 kB / 0.562 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.3279, allocations: 42.5 kB / 0.5621 GB, free: 2.195 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3279, allocations: 0 / 0.5621 GB, free: 2.195 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.1261/0.4541, allocations: 5.614 MB / 0.5675 GB, free: 12.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.4541, allocations: 59.27 kB / 0.5676 GB, free: 12.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.4542, allocations: 89.86 kB / 0.5677 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.4542, allocations: 33.83 kB / 0.5677 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.4543, allocations: 80.52 kB / 0.5678 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.4544, allocations: 87.31 kB / 0.5679 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.4545, allocations: 57.67 kB / 0.5679 GB, free: 12.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4546, allocations: 314.8 kB / 0.5682 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.455, allocations: 119.9 kB / 0.5684 GB, free: 11.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.4553, allocations: 111.9 kB / 0.5685 GB, free: 11.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.4567, allocations: 321 kB / 0.5688 GB, free: 11.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.4567, allocations: 0 / 0.5688 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001194/0.4579, allocations: 361.2 kB / 0.5691 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4579, allocations: 4 kB / 0.5691 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4579, allocations: 0 / 0.5691 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.4579, allocations: 0 / 0.5691 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.4583, allocations: 83.91 kB / 0.5692 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4583, allocations: 0 / 0.5692 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.4585, allocations: 35.91 kB / 0.5692 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/0.4585, allocations: 15.98 kB / 0.5692 GB, free: 10.75 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.0001297/0.4587, allocations: 121.8 kB / 0.5694 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.4587, allocations: 15.92 kB / 0.5694 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4601, allocations: 417.9 kB / 0.5698 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.4601, allocations: 4 kB / 0.5698 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4601, allocations: 0 / 0.5698 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.4601, allocations: 15.86 kB / 0.5698 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.4624, allocations: 0.7761 MB / 0.5705 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4624, allocations: 4.062 kB / 0.5706 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.4627, allocations: 75.92 kB / 0.5706 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.4627, allocations: 4 kB / 0.5706 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.4627, allocations: 15.92 kB / 0.5706 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4627, allocations: 0 / 0.5706 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4627, allocations: 3.938 kB / 0.5706 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4639, allocations: 429.2 kB / 0.5711 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.4639, allocations: 89.05 kB / 0.5711 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.464, allocations: 8 kB / 0.5711 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.4642, allocations: 23.97 kB / 0.5712 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.4642, allocations: 11.98 kB / 0.5712 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.4642, allocations: 19.98 kB / 0.5712 GB, free: 8.621 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.852e-05/0.4643, allocations: 75.28 kB / 0.5713 GB, free: 8.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4643, allocations: 4.094 kB / 0.5713 GB, free: 8.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001747/0.466, allocations: 0.6284 MB / 0.5719 GB, free: 7.914 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.004572/0.4706, allocations: 1.15 MB / 0.573 GB, free: 6.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.4714, allocations: 259.5 kB / 0.5733 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4714, allocations: 0 / 0.5733 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003439/0.4717, allocations: 128 kB / 0.5734 GB, free: 6.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.472, allocations: 8 kB / 0.5734 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.4738, allocations: 440.3 kB / 0.5738 GB, free: 5.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.4742, allocations: 0.697 MB / 0.5745 GB, free: 5.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.4744, allocations: 81.08 kB / 0.5746 GB, free: 5.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.4745, allocations: 51.39 kB / 0.5746 GB, free: 5 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4745, allocations: 0 / 0.5746 GB, free: 5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09283/0.5674, allocations: 55.07 MB / 0.6284 GB, free: 13.89 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.298/8.866, allocations: 8 kB / 0.6284 GB, free: 13.88 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.540339411934838] 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.943051575915888 8.95726226 8.628222339 Calling exit ...