Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, 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.001828/0.001828, 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.558/1.558, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2257/0.2257, allocations: 46.12 MB / 344.2 MB, free: 11.58 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.002399/0.0024, allocations: 75.53 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1146, allocations: 62.46 MB / 480.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005609/0.1202, allocations: 3.379 MB / 483.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003162/0.1234, allocations: 1.598 MB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003388/0.1238, allocations: 19.88 kB / 485.2 MB, free: 152 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004729/0.1243, allocations: 150.7 kB / 485.4 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000461/0.1248, allocations: 182.7 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.126, allocations: 0.5374 MB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.127, allocations: 0.9319 MB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.1274, allocations: 234.3 kB / 487.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.1279, allocations: 366.5 kB / 487.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005095/0.1284, allocations: 414.1 kB / 488 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.1285, allocations: 64 kB / 488.1 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.1288, allocations: 187.7 kB / 488.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.1291, allocations: 195.3 kB / 488.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.1294, allocations: 345.8 kB / 488.8 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.1303, allocations: 0.8838 MB / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1303, allocations: 0 / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1304, allocations: 0 / 489.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.998e-06/0.1304, allocations: 0 / 489.6 MB, free: 11.68 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.002426/0.1328, allocations: 1.172 MB / 490.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1328, allocations: 13.11 kB / 490.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.133, allocations: 78.7 kB / 490.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.1332, allocations: 103.8 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.1341, allocations: 0.5546 MB / 491.6 MB, free: 9.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1342, allocations: 37.38 kB / 491.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.1343, allocations: 56.28 kB / 491.7 MB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.1355, allocations: 0.63 MB / 492.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.1356, allocations: 4 kB / 492.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.1356, allocations: 16 kB / 492.3 MB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1357, allocations: 12 kB / 492.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.1368, allocations: 465.8 kB / 492.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.1409, allocations: 2.655 MB / 495.4 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1421, allocations: 0.507 MB / 495.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006304/0.1427, allocations: 266.8 kB / 496.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.1428, allocations: 12.22 kB / 496.2 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1428, allocations: 38.8 kB / 496.2 MB, free: 4.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 2.384e-06/0.1428, allocations: 0 / 496.2 MB, free: 4.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002716/0.1455, allocations: 1.149 MB / 497.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.966e-05/0.1456, allocations: 162.4 kB / 497.6 MB, free: 3.434 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.1467, allocations: 0.6606 MB / 498.2 MB, free: 2.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.1467, allocations: 33.7 kB / 498.2 MB, free: 2.723 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.1471, allocations: 356.8 kB / 498.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.1472, allocations: 181.4 kB / 498.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/0.1475, allocations: 114.3 kB / 498.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.1477, allocations: 337.9 kB / 499.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007929/0.1485, allocations: 283.3 kB / 499.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/0.1494, allocations: 449.2 kB / 499.9 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.1509, allocations: 0.7104 MB / 0.4889 GB, free: 184 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1509, allocations: 0 / 0.4889 GB, free: 184 kB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001969/0.1529, allocations: 0.8278 MB / 0.4897 GB, free: 15.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1529, allocations: 4 kB / 0.4897 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.1529, allocations: 4 kB / 0.4897 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1529, allocations: 8 kB / 0.4897 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/0.1539, allocations: 204.2 kB / 0.4899 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.1539, allocations: 11.98 kB / 0.4899 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.1545, allocations: 75.58 kB / 0.49 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.1546, allocations: 27.98 kB / 0.49 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009607/0.1555, allocations: 425.3 kB / 0.4904 GB, free: 14.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008113/0.1563, allocations: 429.2 kB / 0.4908 GB, free: 14.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001368/0.1577, allocations: 0.7012 MB / 0.4915 GB, free: 13.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.1577, allocations: 4 kB / 0.4915 GB, free: 13.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001696/0.1594, allocations: 0.796 MB / 0.4923 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1595, allocations: 10.56 kB / 0.4923 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1595, allocations: 8 kB / 0.4923 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1595, allocations: 15.94 kB / 0.4923 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.1603, allocations: 187.8 kB / 0.4925 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.1604, allocations: 19.86 kB / 0.4925 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.1609, allocations: 79.55 kB / 0.4926 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.813e-05/0.161, allocations: 24 kB / 0.4926 GB, free: 12.21 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.0002651/0.1613, allocations: 216.1 kB / 0.4928 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.1614, allocations: 75.14 kB / 0.4929 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.1616, allocations: 90.91 kB / 0.493 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1616, allocations: 7.938 kB / 0.493 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1617, allocations: 4 kB / 0.493 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1617, allocations: 3.984 kB / 0.493 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.1639, allocations: 1.271 MB / 0.4943 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1639, allocations: 0 / 0.4943 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006924/0.1646, allocations: 115.9 kB / 0.4944 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.1646, allocations: 4 kB / 0.4944 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.1646, allocations: 8 kB / 0.4944 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.1647, allocations: 7.938 kB / 0.4944 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1647, allocations: 0 / 0.4944 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.167, allocations: 1.168 MB / 0.4955 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002647/0.1673, allocations: 192.2 kB / 0.4957 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.213e-05/0.1674, allocations: 19.98 kB / 0.4957 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005516/0.1679, allocations: 51.95 kB / 0.4958 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.1681, allocations: 39.88 kB / 0.4958 GB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.535e-05/0.1681, allocations: 16 kB / 0.4958 GB, free: 8.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006804/0.1688, allocations: 467 kB / 0.4963 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1688, allocations: 0 / 0.4963 GB, free: 8.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008701/0.1697, allocations: 212 kB / 0.4965 GB, free: 8.152 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002813/0.1725, allocations: 1.757 MB / 0.4982 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.175, allocations: 1.028 MB / 0.4992 GB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.1751, allocations: 4.062 kB / 0.4992 GB, free: 5.324 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006932/0.1758, allocations: 291.6 kB / 0.4995 GB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.1769, allocations: 191.3 kB / 0.4997 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1681/0.345, allocations: 6.987 MB / 0.5065 GB, free: 39.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.3454, allocations: 0.9543 MB / 0.5074 GB, free: 38.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006074/0.346, allocations: 150.5 kB / 0.5076 GB, free: 38.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.3464, allocations: 261.6 kB / 0.5078 GB, free: 38.85 MB / 382.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3464, allocations: 2.969 kB / 0.5078 GB, free: 38.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.3899, allocations: 15.36 MB / 0.5228 GB, free: 34.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.485, allocations: 17.06 kB / 0.5228 GB, free: 34.34 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput_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_InitialOutput.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)