Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 102.4 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.001253/0.001254, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, 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 trunk/package.mo): time 0.2063/0.2063, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002615, allocations: 78.48 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1317, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00236/0.1341, allocations: 1.212 MB / 481.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005938/0.1347, allocations: 332.1 kB / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.342e-05/0.1347, allocations: 0 / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.22e-05/0.1348, allocations: 0 / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.509e-05/0.1348, allocations: 0 / 481.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000395/0.1352, allocations: 55.81 kB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.1352, allocations: 15.92 kB / 481.7 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.481e-05/0.1353, allocations: 4 kB / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.41e-05/0.1353, allocations: 0 / 481.7 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1355, allocations: 35.95 kB / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.1355, allocations: 0 / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-06/0.1355, allocations: 0 / 481.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.1356, allocations: 4 kB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.597e-05/0.1356, allocations: 4 kB / 481.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.294e-05/0.1356, allocations: 7.922 kB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1356, allocations: 0 / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1357, allocations: 0 / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1357, allocations: 4 kB / 481.8 MB, free: 3.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002519/0.1359, allocations: 311.6 kB / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.136, allocations: 8.031 kB / 482.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.136, allocations: 30.75 kB / 482.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.136, allocations: 8.875 kB / 482.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.099e-05/0.1361, allocations: 164.4 kB / 482.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1361, allocations: 384 / 482.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.1361, allocations: 384 / 482.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.1362, allocations: 38.25 kB / 482.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.1363, allocations: 3.938 kB / 482.4 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1363, allocations: 3.938 kB / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1363, allocations: 0 / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.1363, allocations: 0 / 482.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.1366, allocations: 375.5 kB / 482.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/0.1367, allocations: 173.1 kB / 482.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.1367, allocations: 84.12 kB / 483 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.1368, allocations: 79.22 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1368, allocations: 109.9 kB / 483.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1368, allocations: 0 / 483.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.867e-05/0.1369, allocations: 29.7 kB / 483.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1369, allocations: 130.7 kB / 483.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.137, allocations: 94.14 kB / 483.4 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.137, allocations: 25.7 kB / 483.4 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.1371, allocations: 84.08 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1371, allocations: 0 / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.1371, allocations: 13.62 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.1372, allocations: 322.8 kB / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-06/0.1372, allocations: 0 / 483.8 MB, free: 1.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.1372, allocations: 8.062 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.799e-05/0.1373, allocations: 4.859 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1373, allocations: 11.88 kB / 483.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.05e-05/0.1374, allocations: 29.7 kB / 483.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1374, allocations: 6.5 kB / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1374, allocations: 0 / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1374, allocations: 0 / 483.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.1374, allocations: 4 kB / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1375, allocations: 96 / 483.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.1375, allocations: 4 kB / 483.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1375, allocations: 3.984 kB / 483.9 MB, free: 1.164 MB / 350.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 (1): * Single equations (assignments): 1 * 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 7.944e-05/0.1376, allocations: 185.1 kB / 484.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.1376, allocations: 112.9 kB / 484.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.682e-05/0.1377, allocations: 104.1 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/0.1377, allocations: 184.2 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/0.1378, allocations: 184.2 kB / 484.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.1379, allocations: 180.3 kB / 484.8 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.1381, allocations: 405.1 kB / 485.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.1382, allocations: 108.9 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.1382, allocations: 108.9 kB / 485.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.1383, allocations: 184.3 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.1383, allocations: 176.3 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.497e-05/0.1384, allocations: 180.2 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.856e-05/0.1385, allocations: 184.5 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.1386, allocations: 311.7 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.1386, allocations: 186 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.514e-05/0.1387, allocations: 184.2 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1388, allocations: 105 kB / 486.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.1389, allocations: 180.2 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.1389, allocations: 109 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.276e-05/0.1389, allocations: 79.28 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1389, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1392, allocations: 0 / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003453/0.1395, allocations: 0.8087 MB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.807e-05/0.1396, allocations: 4.094 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1396, allocations: 0 / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.1396, allocations: 4 kB / 488.1 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1399, allocations: 458.3 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.1403, allocations: 186.3 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.1405, allocations: 0.6768 MB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.348e-05/0.1405, allocations: 8 kB / 489.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.1405, allocations: 7.438 kB / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1405, allocations: 0 / 489.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.1562, allocations: 0.875 MB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.542, allocations: 9.016 kB / 490.3 MB, free: 10.54 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)