Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.001411/0.001411, allocations: 105 kB / 19.74 MB, free: 2.566 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.00154/0.00154, allocations: 217.6 kB / 22.92 MB, free: 5.535 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.296/1.296, allocations: 230.2 MB / 256.2 MB, free: 8.75 MB / 206.1 MB " [Timeout remaining time 179] 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.1998/0.1998, allocations: 46.89 MB / 359.3 MB, free: 5 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.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep",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.002147/0.002147, allocations: 87.83 kB / 0.494 GB, free: 9.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2577, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001391/0.2591, allocations: 0.4994 MB / 0.5589 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003015/0.2594, allocations: 107.6 kB / 0.559 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.2595, allocations: 0 / 0.559 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.069e-05/0.2595, allocations: 0 / 0.559 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.2597, allocations: 11.92 kB / 0.559 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.728e-05/0.2597, allocations: 3.938 kB / 0.559 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.642e-05/0.2597, allocations: 11.98 kB / 0.559 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.2598, allocations: 4 kB / 0.559 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.2598, allocations: 4 kB / 0.559 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.2598, allocations: 7.922 kB / 0.559 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.2598, allocations: 0 / 0.559 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.2599, allocations: 19.98 kB / 0.559 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.2599, allocations: 0 / 0.559 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.2599, allocations: 3.938 kB / 0.559 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.926e-05/0.26, allocations: 25.78 kB / 0.5591 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.26, allocations: 0 / 0.5591 GB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.26, allocations: 0 / 0.5591 GB, free: 4.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.26, allocations: 0 / 0.5591 GB, free: 4.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003044/0.2603, allocations: 323.5 kB / 0.5594 GB, free: 4.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2603, allocations: 12.03 kB / 0.5594 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.103e-05/0.2604, allocations: 34.73 kB / 0.5594 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.917e-05/0.2604, allocations: 4.938 kB / 0.5594 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2605, allocations: 164.3 kB / 0.5596 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.2605, allocations: 4.375 kB / 0.5596 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.2605, allocations: 384 / 0.5596 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.2606, allocations: 38.25 kB / 0.5596 GB, free: 3.848 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2606, allocations: 3.938 kB / 0.5596 GB, free: 3.844 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-06/0.2606, allocations: 4 kB / 0.5596 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-06/0.2606, allocations: 0 / 0.5596 GB, free: 3.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.2607, allocations: 4 kB / 0.5596 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001547/0.2608, allocations: 157.6 kB / 0.5598 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.261, allocations: 38.55 kB / 0.5598 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.081e-05/0.261, allocations: 8.859 kB / 0.5598 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003215/0.2613, allocations: 121.1 kB / 0.56 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.2614, allocations: 34.56 kB / 0.56 GB, free: 3.395 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2614, allocations: 3.938 kB / 0.56 GB, free: 3.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001155/0.2625, allocations: 185.6 kB / 0.5602 GB, free: 3.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2625, allocations: 51.41 kB / 0.5602 GB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.245e-05/0.2626, allocations: 93.86 kB / 0.5603 GB, free: 3.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2626, allocations: 29.7 kB / 0.5603 GB, free: 3.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.2627, allocations: 80.14 kB / 0.5604 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.2627, allocations: 11.89 kB / 0.5604 GB, free: 2.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.2627, allocations: 21.84 kB / 0.5604 GB, free: 2.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2628, allocations: 318.8 kB / 0.5607 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.458e-05/0.2629, allocations: 15.98 kB / 0.5608 GB, free: 2.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.263, allocations: 23.97 kB / 0.5608 GB, free: 2.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.2631, allocations: 48.77 kB / 0.5608 GB, free: 2.473 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2631, allocations: 0 / 0.5608 GB, free: 2.473 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001936/0.2633, allocations: 81.59 kB / 0.5609 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2634, allocations: 8 kB / 0.5609 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2634, allocations: 0 / 0.5609 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.2634, allocations: 0 / 0.5609 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.2635, allocations: 15.98 kB / 0.5609 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.2635, allocations: 7.984 kB / 0.5609 GB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.533e-05/0.2636, allocations: 4 kB / 0.5609 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2636, allocations: 4.25 kB / 0.5609 GB, free: 2.348 MB / 398.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 (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 7.641e-05/0.2636, allocations: 109.8 kB / 0.5611 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.2637, allocations: 19.81 kB / 0.5611 GB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000232/0.2639, allocations: 89.16 kB / 0.5612 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2639, allocations: 0 / 0.5612 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2639, allocations: 0 / 0.5612 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2639, allocations: 0 / 0.5612 GB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/0.2646, allocations: 367.2 kB / 0.5615 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2646, allocations: 0 / 0.5615 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.86e-05/0.2647, allocations: 15.98 kB / 0.5615 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2647, allocations: 0 / 0.5615 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2647, allocations: 0 / 0.5615 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2647, allocations: 0 / 0.5615 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.2647, allocations: 4.031 kB / 0.5615 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.2649, allocations: 184.2 kB / 0.5617 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.2649, allocations: 85 kB / 0.5618 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.265, allocations: 7.984 kB / 0.5618 GB, free: 1.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.265, allocations: 4 kB / 0.5618 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.2651, allocations: 4 kB / 0.5618 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-06/0.2651, allocations: 11.98 kB / 0.5618 GB, free: 1.355 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.863e-05/0.2651, allocations: 75.28 kB / 0.5619 GB, free: 1.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2651, allocations: 0 / 0.5619 GB, free: 1.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.2653, allocations: 8 kB / 0.5619 GB, free: 1.273 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0005441/0.2659, allocations: 0.7094 MB / 0.5626 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.2661, allocations: 47.95 kB / 0.5626 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2661, allocations: 0 / 0.5626 GB, free: 496 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.2661, allocations: 23.92 kB / 0.5626 GB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2663, allocations: 7.938 kB / 0.5627 GB, free: 464 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004885/0.2668, allocations: 167.5 kB / 0.5628 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2671, allocations: 0.6768 MB / 0.5635 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.2672, allocations: 12.3 kB / 0.5635 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.778e-05/0.2672, allocations: 11.44 kB / 0.5635 GB, free: 15.52 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2672, allocations: 0 / 0.5635 GB, free: 15.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.2878, allocations: 1.463 MB / 0.5649 GB, free: 14.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.89/7.178, allocations: 1.547 kB / 0.5649 GB, free: 14.12 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep_fmu --startTime=0 --stopTime=1.3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestUtilities_TestRegStep.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.640184007992502]