Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.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.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001866/0.001866, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002234/0.002234, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2224/0.2224, allocations: 46.12 MB / 344.2 MB, free: 11.52 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.002284/0.002285, allocations: 83.48 kB / 417.8 MB, free: 19.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1229, allocations: 62.45 MB / 480.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.005058/0.128, allocations: 3.356 MB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003078/0.1311, allocations: 1.591 MB / 485.2 MB, free: 124 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.1315, allocations: 23.88 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.1321, allocations: 146.7 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004565/0.1325, allocations: 186.6 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1337, allocations: 0.5325 MB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.1347, allocations: 0.8968 MB / 486.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.1351, allocations: 222.4 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004958/0.1356, allocations: 366.5 kB / 487.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.1361, allocations: 398.1 kB / 487.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1363, allocations: 60 kB / 488 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.1364, allocations: 64 kB / 488 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000229/0.1366, allocations: 211.2 kB / 488.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.137, allocations: 337.8 kB / 488.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007918/0.1378, allocations: 0.7395 MB / 489.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1378, allocations: 3.984 kB / 489.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1378, allocations: 0 / 489.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1378, allocations: 4 kB / 489.3 MB, free: 11.95 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002396/0.1402, allocations: 1.16 MB / 490.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1403, allocations: 9.109 kB / 490.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.1404, allocations: 86.7 kB / 490.6 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002466/0.1406, allocations: 99.81 kB / 490.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.1415, allocations: 0.5507 MB / 491.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4e-05/0.1416, allocations: 37.38 kB / 491.2 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.906e-05/0.1417, allocations: 64.28 kB / 491.3 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1429, allocations: 0.6183 MB / 491.9 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.1429, allocations: 4 kB / 491.9 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.143, allocations: 20 kB / 491.9 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.143, allocations: 12 kB / 492 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.1441, allocations: 469.7 kB / 492.4 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003872/0.148, allocations: 2.628 MB / 495 MB, free: 5.957 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.1493, allocations: 0.5521 MB / 495.6 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005891/0.1499, allocations: 254.4 kB / 495.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.15, allocations: 8 kB / 495.9 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.15, allocations: 42.53 kB / 495.9 MB, free: 5.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.15, allocations: 0 / 495.9 MB, free: 5.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002666/0.1527, allocations: 1.132 MB / 497 MB, free: 3.922 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/0.1528, allocations: 170.1 kB / 497.2 MB, free: 3.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009327/0.1538, allocations: 0.6529 MB / 497.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.1538, allocations: 33.7 kB / 497.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.1542, allocations: 368 kB / 498.2 MB, free: 2.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.1543, allocations: 169.5 kB / 498.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/0.1545, allocations: 118.2 kB / 498.5 MB, free: 2.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1547, allocations: 333.9 kB / 498.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.1554, allocations: 263.3 kB / 499.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/0.1562, allocations: 425.5 kB / 499.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.1576, allocations: 0.674 MB / 0.4885 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1576, allocations: 0 / 0.4885 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001883/0.1595, allocations: 0.8154 MB / 0.4893 GB, free: 15.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1595, allocations: 16.03 kB / 0.4893 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1595, allocations: 4 kB / 0.4893 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002448/0.1598, allocations: 60.75 kB / 0.4893 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.1607, allocations: 191.8 kB / 0.4895 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001622/0.1623, allocations: 1.605 MB / 0.4911 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005687/0.1629, allocations: 79.62 kB / 0.4912 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/0.163, allocations: 27.94 kB / 0.4912 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008069/0.1638, allocations: 401.3 kB / 0.4916 GB, free: 13.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007159/0.1645, allocations: 413.2 kB / 0.492 GB, free: 12.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/0.1658, allocations: 0.6507 MB / 0.4926 GB, free: 12.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.1658, allocations: 3.938 kB / 0.4926 GB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001707/0.1675, allocations: 0.7926 MB / 0.4934 GB, free: 11.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1675, allocations: 8.531 kB / 0.4934 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1676, allocations: 8 kB / 0.4934 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001611/0.1677, allocations: 60.75 kB / 0.4935 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.1686, allocations: 191.8 kB / 0.4936 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.1701, allocations: 1.614 MB / 0.4952 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.1707, allocations: 75.62 kB / 0.4953 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.1707, allocations: 24 kB / 0.4953 GB, free: 9.105 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002165/0.1709, allocations: 220 kB / 0.4955 GB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.1711, allocations: 79.12 kB / 0.4956 GB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.1713, allocations: 94.14 kB / 0.4957 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.1713, allocations: 8 kB / 0.4957 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1713, allocations: 0 / 0.4957 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1713, allocations: 0 / 0.4957 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.1727, allocations: 0.8531 MB / 0.4965 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1727, allocations: 0 / 0.4965 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.1734, allocations: 107.9 kB / 0.4966 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.1734, allocations: 4 kB / 0.4966 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.1735, allocations: 12 kB / 0.4966 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1735, allocations: 7.938 kB / 0.4967 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1735, allocations: 0 / 0.4967 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.1756, allocations: 1.132 MB / 0.4978 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.1759, allocations: 196.2 kB / 0.4979 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.176, allocations: 16 kB / 0.498 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.1765, allocations: 47.94 kB / 0.498 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1767, allocations: 39.94 kB / 0.498 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.1767, allocations: 23.97 kB / 0.4981 GB, free: 6.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.1774, allocations: 462.9 kB / 0.4985 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1774, allocations: 0 / 0.4985 GB, free: 5.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008171/0.1783, allocations: 192 kB / 0.4987 GB, free: 5.535 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.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 (44): * Single equations (assignments): 44 * 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.002466/0.1807, allocations: 1.698 MB / 0.5003 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.1835, allocations: 1.225 MB / 0.5015 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1835, allocations: 0.75 kB / 0.5015 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.1842, allocations: 283.7 kB / 0.5018 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1853, allocations: 201 kB / 0.502 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2084/0.3937, allocations: 6.904 MB / 0.5087 GB, free: 39.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/0.3944, allocations: 0.9543 MB / 0.5097 GB, free: 38.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006842/0.3951, allocations: 137.9 kB / 0.5098 GB, free: 38.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.3956, allocations: 258.8 kB / 0.5101 GB, free: 38.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3956, allocations: 0 / 0.5101 GB, free: 38.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05653/0.4521, allocations: 15.22 MB / 0.5249 GB, free: 33.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.56, allocations: 5.656 kB / 0.5249 GB, free: 33.66 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState_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_Continuous_SteadyState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)