Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001579/0.001579, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2686/0.2686, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.002107/0.002107, allocations: 80.95 kB / 417.8 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1511, allocations: 62.44 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002969/0.1541, allocations: 1.689 MB / 481.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1554, allocations: 0.6546 MB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.1555, allocations: 3.938 kB / 482.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.663e-05/0.1555, allocations: 11.86 kB / 482.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1556, allocations: 19.81 kB / 482.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1561, allocations: 155 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1563, allocations: 151.7 kB / 482.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1564, allocations: 29.05 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.1566, allocations: 75.75 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1567, allocations: 67.73 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.436e-05/0.1568, allocations: 16 kB / 483.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.053e-05/0.1568, allocations: 16 kB / 483.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.1569, allocations: 35.84 kB / 483.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.134e-05/0.157, allocations: 63.64 kB / 483.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.1572, allocations: 143.7 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1572, allocations: 0 / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1572, allocations: 0 / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1572, allocations: 0 / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006766/0.1579, allocations: 451 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1579, allocations: 16.02 kB / 483.8 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.404e-05/0.158, allocations: 38.75 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1581, allocations: 24.73 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1584, allocations: 212 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1584, allocations: 12.36 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.1585, allocations: 4.375 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.1589, allocations: 190.8 kB / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1589, allocations: 0 / 484.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1589, allocations: 4 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.159, allocations: 8 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004053/0.1594, allocations: 119.8 kB / 484.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000857/0.1602, allocations: 464.3 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.1608, allocations: 186.5 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.1611, allocations: 72.8 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1611, allocations: 0 / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.1611, allocations: 42.56 kB / 485.1 MB, free: 40 kB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.1611, allocations: 3.938 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001491/0.1626, allocations: 0.5642 MB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.1627, allocations: 110.8 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1629, allocations: 163.3 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.1629, allocations: 25.7 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.163, allocations: 104.1 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.163, allocations: 31.55 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.1631, allocations: 29.7 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1632, allocations: 322.8 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.1635, allocations: 76.8 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.1637, allocations: 102.5 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000414/0.1642, allocations: 136.8 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1642, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004853/0.1647, allocations: 189.3 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.1647, allocations: 4 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.1647, allocations: 0 / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1647, allocations: 3.938 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1649, allocations: 39.95 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.1649, allocations: 0 / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.165, allocations: 27.97 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1651, allocations: 4 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001589/0.1652, allocations: 124 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001197/0.1653, allocations: 54.55 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001855/0.1655, allocations: 81.25 kB / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.21e-07/0.1656, allocations: 0 / 487.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002524/0.1658, allocations: 117.5 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.1658, allocations: 8 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-06/0.1658, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.1658, allocations: 0 / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.1659, allocations: 19.98 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.1659, allocations: 7.875 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.166, allocations: 19.98 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1661, allocations: 4 kB / 487.5 MB, free: 13.54 MB / 366.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 (10): * Single equations (assignments): 10 * 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.0001213/0.1662, allocations: 184.2 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.639e-05/0.1662, allocations: 15.81 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1663, allocations: 13.41 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.1663, allocations: 7.875 kB / 487.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1663, allocations: 4 kB / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1663, allocations: 0 / 487.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/0.1672, allocations: 0.5069 MB / 488.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1672, allocations: 8.031 kB / 488.2 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.1674, allocations: 35.97 kB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1674, allocations: 3.984 kB / 488.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.1674, allocations: 7.984 kB / 488.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.1675, allocations: 7.938 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1675, allocations: 0 / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007897/0.1683, allocations: 359.9 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.1683, allocations: 93.09 kB / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1684, allocations: 0 / 488.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.1686, allocations: 39.95 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.1687, allocations: 4 kB / 488.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.1687, allocations: 12.17 kB / 488.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.024e-05/0.1688, allocations: 116 kB / 488.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1688, allocations: 7.938 kB / 488.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003062/0.1691, allocations: 36 kB / 488.9 MB, free: 11.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001092/0.1702, allocations: 0.8848 MB / 489.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006282/0.1709, allocations: 203.8 kB / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1709, allocations: 0 / 490 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.1711, allocations: 72.62 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.1716, allocations: 49.67 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.1745, allocations: 1.93 MB / 492 MB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1749, allocations: 0.7046 MB / 492.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.092e-05/0.175, allocations: 20.81 kB / 492.8 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.61e-05/0.175, allocations: 39.42 kB / 492.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1751, allocations: 4.469 kB / 492.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.2071, allocations: 3.809 MB / 496.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.88/8.088, allocations: 3.938 kB / 496.6 MB, free: 4.211 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1)