Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 103.8 kB / 17.63 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001298/0.001298, allocations: 210.4 kB / 18.58 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.6 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.2235/0.2235, allocations: 46.11 MB / 344.2 MB, free: 11.6 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.002267/0.002267, allocations: 83.58 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1023, allocations: 62.46 MB / 480.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.00528/0.1076, allocations: 3.535 MB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1107, allocations: 1.477 MB / 485.2 MB, free: 140 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.1111, allocations: 27.81 kB / 485.2 MB, free: 112 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00031/0.1114, allocations: 114.8 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004754/0.1119, allocations: 150.6 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.1133, allocations: 0.629 MB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.1143, allocations: 0.9328 MB / 487.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.1148, allocations: 300.8 kB / 487.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005161/0.1154, allocations: 370.4 kB / 487.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.1158, allocations: 358.1 kB / 488.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1159, allocations: 72 kB / 488.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1161, allocations: 87.92 kB / 488.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1163, allocations: 167.3 kB / 488.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003535/0.1166, allocations: 373.7 kB / 488.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008668/0.1175, allocations: 0.8058 MB / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1175, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1175, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.1175, allocations: 0 / 489.6 MB, free: 11.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002422/0.12, allocations: 1.203 MB / 490.8 MB, free: 10.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.12, allocations: 8.031 kB / 490.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1201, allocations: 90.64 kB / 490.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/0.1207, allocations: 139.8 kB / 491 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007938/0.1215, allocations: 0.57 MB / 491.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.1215, allocations: 37.38 kB / 491.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-05/0.1216, allocations: 48.38 kB / 491.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.1232, allocations: 0.7284 MB / 492.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1233, allocations: 0 / 492.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/0.1233, allocations: 16 kB / 492.4 MB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.1234, allocations: 12 kB / 492.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.1249, allocations: 0.5581 MB / 493 MB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/0.1284, allocations: 2.306 MB / 495.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.1304, allocations: 0.7134 MB / 496 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009316/0.1314, allocations: 330.2 kB / 496.3 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.1314, allocations: 8.375 kB / 496.3 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1315, allocations: 42.88 kB / 496.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.094e-06/0.1315, allocations: 4 kB / 496.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005133/0.1366, allocations: 1.922 MB / 498.3 MB, free: 2.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.1368, allocations: 247.7 kB / 498.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.1375, allocations: 0.5709 MB / 499.1 MB, free: 1.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.1376, allocations: 33.7 kB / 499.1 MB, free: 1.777 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000309/0.1379, allocations: 364.7 kB / 499.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.1381, allocations: 181.4 kB / 499.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.1383, allocations: 106.2 kB / 499.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1384, allocations: 333.9 kB / 0.4884 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/0.1394, allocations: 298.9 kB / 0.4887 GB, free: 0.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1404, allocations: 427.7 kB / 0.4891 GB, free: 32 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/0.1423, allocations: 0.6551 MB / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1423, allocations: 0 / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002163/0.1444, allocations: 0.7984 MB / 0.4905 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1445, allocations: 4 kB / 0.4905 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1445, allocations: 4 kB / 0.4905 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1445, allocations: 7.938 kB / 0.4905 GB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009134/0.1454, allocations: 192 kB / 0.4907 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1455, allocations: 4 kB / 0.4907 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.146, allocations: 83.91 kB / 0.4908 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.1461, allocations: 27.98 kB / 0.4908 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008396/0.1469, allocations: 357.1 kB / 0.4911 GB, free: 13.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00076/0.1477, allocations: 365.3 kB / 0.4915 GB, free: 13.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001306/0.149, allocations: 0.5398 MB / 0.492 GB, free: 12.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.149, allocations: 0 / 0.492 GB, free: 12.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001596/0.1506, allocations: 0.6591 MB / 0.4926 GB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1507, allocations: 4 kB / 0.4927 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1507, allocations: 4 kB / 0.4927 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.913e-06/0.1507, allocations: 4 kB / 0.4927 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007319/0.1514, allocations: 172 kB / 0.4928 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.1514, allocations: 7.938 kB / 0.4928 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.1519, allocations: 64.03 kB / 0.4929 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.152, allocations: 20.12 kB / 0.4929 GB, free: 11.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.000215/0.1522, allocations: 220.2 kB / 0.4931 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1524, allocations: 86.98 kB / 0.4932 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.1526, allocations: 87.38 kB / 0.4933 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.1526, allocations: 4 kB / 0.4933 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1526, allocations: 4 kB / 0.4933 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1526, allocations: 3.984 kB / 0.4933 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003049/0.1557, allocations: 1.448 MB / 0.4947 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.1557, allocations: 3.938 kB / 0.4947 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.1565, allocations: 155.8 kB / 0.4949 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1565, allocations: 0 / 0.4949 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.357e-05/0.1565, allocations: 19.98 kB / 0.4949 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1565, allocations: 0 / 0.4949 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.1565, allocations: 4 kB / 0.4949 GB, free: 9.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.1596, allocations: 1.252 MB / 0.4961 GB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/0.1598, allocations: 184.2 kB / 0.4963 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.1599, allocations: 12 kB / 0.4963 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.1606, allocations: 83.91 kB / 0.4964 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1607, allocations: 47.81 kB / 0.4964 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.979e-05/0.1607, allocations: 19.98 kB / 0.4964 GB, free: 8.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004952/0.1612, allocations: 399.1 kB / 0.4968 GB, free: 7.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1612, allocations: 0 / 0.4968 GB, free: 7.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007078/0.162, allocations: 184 kB / 0.497 GB, free: 7.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.003379/0.1653, allocations: 1.801 MB / 0.4988 GB, free: 5.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.1683, allocations: 1.005 MB / 0.4997 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1683, allocations: 0 / 0.4997 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009969/0.1693, allocations: 356 kB / 0.5001 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.1704, allocations: 219.2 kB / 0.5003 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1705/0.341, allocations: 6.363 MB / 0.5065 GB, free: 40.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.3414, allocations: 0.9241 MB / 0.5074 GB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004603/0.3419, allocations: 93.59 kB / 0.5075 GB, free: 40.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.3422, allocations: 277.5 kB / 0.5078 GB, free: 40.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3422, allocations: 0 / 0.5078 GB, free: 40.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.3828, allocations: 15.27 MB / 0.5227 GB, free: 35.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.462, allocations: 6.172 kB / 0.5227 GB, free: 35.5 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1)