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.001118/0.001118, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.09 MB / 343.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 78.41 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1332, allocations: 62.44 MB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002621/0.1359, allocations: 1.273 MB / 480.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007664/0.1367, allocations: 340.1 kB / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.1367, allocations: 0 / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.1368, allocations: 0 / 481 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/0.1368, allocations: 4 kB / 481 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004668/0.1373, allocations: 51.88 kB / 481 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.369e-05/0.1373, allocations: 8 kB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.1374, allocations: 3.984 kB / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.1374, allocations: 0 / 481.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.1377, allocations: 43.95 kB / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1377, allocations: 0 / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-06/0.1377, allocations: 0 / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1378, allocations: 0 / 481.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.1378, allocations: 4 kB / 481.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.365e-05/0.1378, allocations: 3.938 kB / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1379, allocations: 0 / 481.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1379, allocations: 4 kB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1379, allocations: 0 / 481.1 MB, free: 3.898 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.0003069/0.1382, allocations: 315.6 kB / 481.4 MB, free: 3.539 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1382, allocations: 8.875 kB / 481.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.1383, allocations: 34.69 kB / 481.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1383, allocations: 4.938 kB / 481.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1385, allocations: 160.4 kB / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1385, allocations: 384 / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.544e-06/0.1385, allocations: 384 / 481.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/0.1386, allocations: 38.25 kB / 481.7 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.1386, allocations: 3.938 kB / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1386, allocations: 0 / 481.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1386, allocations: 4 kB / 481.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.014e-05/0.1387, allocations: 4 kB / 481.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.139, allocations: 379.5 kB / 482 MB, free: 2.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.44e-05/0.1391, allocations: 177.1 kB / 482.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.1392, allocations: 80.14 kB / 482.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.1392, allocations: 75.28 kB / 482.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/0.1393, allocations: 109.9 kB / 482.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1393, allocations: 0 / 482.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.397e-05/0.1394, allocations: 29.64 kB / 482.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.1395, allocations: 130.7 kB / 482.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.22e-05/0.1396, allocations: 98.14 kB / 482.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.1396, allocations: 25.7 kB / 482.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.1396, allocations: 88.02 kB / 482.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.1396, allocations: 0 / 482.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.1397, allocations: 17.61 kB / 482.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1398, allocations: 310.8 kB / 483.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.1398, allocations: 8.125 kB / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.438e-06/0.1398, allocations: 0 / 483.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.1399, allocations: 4.859 kB / 483.2 MB, free: 1.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1399, allocations: 7.875 kB / 483.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001058/0.14, allocations: 41.64 kB / 483.2 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.14, allocations: 4 kB / 483.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.14, allocations: 0 / 483.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.14, allocations: 0 / 483.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.674e-05/0.1401, allocations: 7.984 kB / 483.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1401, allocations: 4.094 kB / 483.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.1401, allocations: 0 / 483.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1402, allocations: 0 / 483.2 MB, free: 1.531 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 9.885e-05/0.1403, allocations: 185.1 kB / 483.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.827e-05/0.1403, allocations: 109 kB / 483.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.152e-05/0.1404, allocations: 108 kB / 483.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.56e-05/0.1405, allocations: 184.3 kB / 483.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.99e-05/0.1406, allocations: 184.2 kB / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001024/0.1407, allocations: 184.3 kB / 484.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.141, allocations: 397.2 kB / 484.6 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.135e-05/0.141, allocations: 108.9 kB / 484.7 MB, free: 16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.809e-05/0.1411, allocations: 105 kB / 484.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.439e-05/0.1412, allocations: 188.4 kB / 485 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.586e-05/0.1413, allocations: 180.3 kB / 485.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.171e-05/0.1413, allocations: 176.3 kB / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.981e-05/0.1414, allocations: 180.2 kB / 485.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1416, allocations: 315.7 kB / 485.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.1417, allocations: 182.1 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/0.1418, allocations: 180.2 kB / 486.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.779e-05/0.1419, allocations: 104.9 kB / 486.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.142, allocations: 180.3 kB / 486.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.142, allocations: 112.9 kB / 486.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.1421, allocations: 79.28 kB / 486.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1421, allocations: 0 / 486.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1423, allocations: 0 / 486.6 MB, free: 13.94 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.0004884/0.1428, allocations: 0.8087 MB / 487.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.776e-05/0.1429, allocations: 8.031 kB / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1429, allocations: 3.938 kB / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.1429, allocations: 0 / 487.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1434, allocations: 0.5185 MB / 487.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.1438, allocations: 196.2 kB / 488.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1441, allocations: 0.6692 MB / 488.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.058e-05/0.1441, allocations: 3.984 kB / 488.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1442, allocations: 7.438 kB / 488.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1442, allocations: 0 / 488.8 MB, free: 11.63 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02205/0.1662, allocations: 0.7703 MB / 489.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/0.1665, allocations: 221 kB / 489.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.801/1.968, allocations: 0 / 489.8 MB, free: 10.71 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)