Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.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.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.TestBraking,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 104.1 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.001457/0.001457, 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.445/1.445, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.2849/0.2849, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.002275/0.002275, allocations: 82.23 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1294, allocations: 62.46 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004734/0.1342, allocations: 3.144 MB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001941/0.1362, allocations: 1.075 MB / 484.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.1364, allocations: 11.94 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1366, allocations: 59.38 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.1368, allocations: 122.9 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.1374, allocations: 179.5 kB / 484.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.1378, allocations: 457.9 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002378/0.1381, allocations: 116.4 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001952/0.1383, allocations: 171.4 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1385, allocations: 183.2 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.1386, allocations: 35.94 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1388, allocations: 55.98 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.284e-05/0.1388, allocations: 75.75 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.139, allocations: 199 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.1395, allocations: 450.6 kB / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1395, allocations: 0 / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1395, allocations: 0 / 486.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1396, allocations: 0 / 486.5 MB, free: 14.79 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001219/0.1408, allocations: 0.6902 MB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.1408, allocations: 8.031 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.685e-05/0.1409, allocations: 74.66 kB / 487.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.1412, allocations: 60.45 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.1416, allocations: 302.5 kB / 487.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.1417, allocations: 25.38 kB / 487.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.679e-05/0.1417, allocations: 44.12 kB / 487.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006045/0.1423, allocations: 363.5 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.1424, allocations: 7.906 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.1424, allocations: 16 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1424, allocations: 12 kB / 488.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.143, allocations: 251.8 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002239/0.1452, allocations: 1.517 MB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.146, allocations: 419.3 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1462, allocations: 141.1 kB / 490.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.1463, allocations: 8.609 kB / 490.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/0.1463, allocations: 46.5 kB / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.003e-06/0.1463, allocations: 0 / 490.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.003377/0.1497, allocations: 1.965 MB / 492.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.1499, allocations: 191.9 kB / 492.6 MB, free: 8.074 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.1502, allocations: 255 kB / 492.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.1502, allocations: 33.7 kB / 492.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.1504, allocations: 200.4 kB / 493.1 MB, free: 7.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.1505, allocations: 189.3 kB / 493.3 MB, free: 7.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1507, allocations: 94.25 kB / 493.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1509, allocations: 354.8 kB / 493.7 MB, free: 6.934 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.1511, allocations: 117.2 kB / 493.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.1515, allocations: 288 kB / 494.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006542/0.1522, allocations: 461.6 kB / 494.5 MB, free: 5.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1522, allocations: 4 kB / 494.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008336/0.153, allocations: 0.4893 MB / 495 MB, free: 5.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1531, allocations: 8 kB / 495 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1531, allocations: 4 kB / 495 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.1531, allocations: 11.98 kB / 495.1 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.1536, allocations: 143.8 kB / 495.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.1536, allocations: 11.94 kB / 495.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/0.1539, allocations: 20 kB / 495.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.1539, allocations: 27.94 kB / 495.3 MB, free: 5.211 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.000184/0.1541, allocations: 177.8 kB / 495.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.1543, allocations: 39.53 kB / 495.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.1545, allocations: 131.3 kB / 495.6 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.1545, allocations: 4 kB / 495.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.1546, allocations: 7.938 kB / 495.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1546, allocations: 0 / 495.6 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.1565, allocations: 1.249 MB / 496.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.1565, allocations: 0 / 496.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.1571, allocations: 119.9 kB / 497 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.1571, allocations: 7.938 kB / 497 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.1571, allocations: 12 kB / 497 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/0.1571, allocations: 12.11 kB / 497 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1571, allocations: 8.312 kB / 497 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.1582, allocations: 1.009 MB / 498 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.1583, allocations: 108.7 kB / 498.1 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.1584, allocations: 16 kB / 498.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.1588, allocations: 15.98 kB / 498.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.1589, allocations: 43.83 kB / 498.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.1589, allocations: 16 kB / 498.2 MB, free: 2.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.1591, allocations: 174 kB / 498.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1591, allocations: 4 kB / 498.4 MB, free: 1.891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006348/0.1597, allocations: 100 kB / 498.5 MB, free: 1.793 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * 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.001371/0.1611, allocations: 1.554 MB / 0.4883 GB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007141/0.1618, allocations: 371.7 kB / 0.4887 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1618, allocations: 3.938 kB / 0.4887 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.1622, allocations: 171.6 kB / 0.4888 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.1632, allocations: 86.17 kB / 0.4889 GB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/0.1697, allocations: 4.664 MB / 0.4935 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.1702, allocations: 0.8122 MB / 0.4943 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.1704, allocations: 43.34 kB / 0.4943 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.1707, allocations: 135.4 kB / 0.4944 GB, free: 9.586 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1707, allocations: 0 / 0.4944 GB, free: 9.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/0.2062, allocations: 7.566 MB / 0.5018 GB, free: 2.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.308, allocations: 23.34 kB / 0.5019 GB, free: 2.105 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_1_0-beta_om_ModelicaTest_Translational_TestBraking.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Translational.TestBraking.pipe 2>&1)