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.001169/0.001169, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001551, allocations: 81.33 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1437, allocations: 62.45 MB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002566/0.1463, allocations: 1.27 MB / 480.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000624/0.1469, allocations: 340.1 kB / 481.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-06/0.147, allocations: 4 kB / 481.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.764e-05/0.147, allocations: 0 / 481.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.293e-05/0.1471, allocations: 0 / 481.2 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.1475, allocations: 51.88 kB / 481.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.1476, allocations: 4 kB / 481.3 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1476, allocations: 4 kB / 481.3 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1476, allocations: 4 kB / 481.3 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1479, allocations: 35.95 kB / 481.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-06/0.1479, allocations: 0 / 481.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.229e-06/0.1479, allocations: 4 kB / 481.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.1479, allocations: 3.984 kB / 481.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.228e-05/0.1479, allocations: 8 kB / 481.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.041e-05/0.148, allocations: 3.938 kB / 481.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.148, allocations: 0 / 481.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.148, allocations: 0 / 481.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.148, allocations: 0 / 481.3 MB, free: 3.781 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.000271/0.1483, allocations: 311.6 kB / 481.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1483, allocations: 11.97 kB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1484, allocations: 34.75 kB / 481.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.188e-05/0.1484, allocations: 8.875 kB / 481.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.483e-05/0.1485, allocations: 160.4 kB / 481.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1485, allocations: 4.359 kB / 481.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1485, allocations: 4.375 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.774e-05/0.1486, allocations: 30.27 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1486, allocations: 3.938 kB / 481.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1487, allocations: 0 / 481.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1487, allocations: 0 / 481.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.144e-05/0.1487, allocations: 3.984 kB / 481.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.149, allocations: 383.5 kB / 482.3 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.884e-05/0.1491, allocations: 169.1 kB / 482.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.875e-05/0.1491, allocations: 80.14 kB / 482.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.1492, allocations: 79.31 kB / 482.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.1492, allocations: 113.8 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.1492, allocations: 0 / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.722e-05/0.1493, allocations: 29.64 kB / 482.7 MB, free: 2.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.1493, allocations: 130.7 kB / 482.8 MB, free: 2.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.867e-05/0.1494, allocations: 94.14 kB / 482.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.1495, allocations: 25.7 kB / 483 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.979e-05/0.1495, allocations: 84.2 kB / 483 MB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.1495, allocations: 4 kB / 483.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.1495, allocations: 13.62 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1497, allocations: 314.8 kB / 483.4 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-06/0.1497, allocations: 7.984 kB / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.1497, allocations: 0 / 483.4 MB, free: 1.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.1497, allocations: 8.859 kB / 483.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1497, allocations: 7.875 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.058e-05/0.1498, allocations: 37.7 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1498, allocations: 4 kB / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.1498, allocations: 0 / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1499, allocations: 0 / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.333e-05/0.1499, allocations: 4 kB / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.1499, allocations: 0 / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.055e-05/0.1499, allocations: 0 / 483.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.1499, allocations: 4 kB / 483.4 MB, free: 1.418 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.053e-05/0.15, allocations: 189 kB / 483.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.1501, allocations: 113 kB / 483.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/0.1502, allocations: 108 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.937e-05/0.1502, allocations: 176.3 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-05/0.1503, allocations: 184.2 kB / 484.2 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-05/0.1504, allocations: 180.3 kB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1506, allocations: 413.1 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.1506, allocations: 104.9 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.032e-05/0.1507, allocations: 105.1 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-05/0.1507, allocations: 188.2 kB / 485.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.088e-05/0.1508, allocations: 176.3 kB / 485.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.754e-05/0.1509, allocations: 180.2 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-05/0.1509, allocations: 184.3 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.1511, allocations: 307.7 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.969e-05/0.1511, allocations: 182.1 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.022e-05/0.1512, allocations: 180.2 kB / 486.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.1513, allocations: 109 kB / 486.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.1514, allocations: 184.2 kB / 486.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.1514, allocations: 104.9 kB / 486.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.857e-05/0.1514, allocations: 75.28 kB / 486.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1514, allocations: 0 / 486.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.1517, allocations: 0 / 486.8 MB, free: 13.83 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.000366/0.152, allocations: 0.8088 MB / 487.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 5.676e-05/0.1521, allocations: 7.938 kB / 487.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1521, allocations: 0 / 487.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.1521, allocations: 4 kB / 487.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.1525, allocations: 458.2 kB / 488.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.1528, allocations: 190.4 kB / 488.3 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.153, allocations: 0.6729 MB / 488.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.27e-05/0.1531, allocations: 0 / 488.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.1531, allocations: 7.438 kB / 488.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1531, allocations: 0 / 488.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.1635, allocations: 0.8019 MB / 489.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.1638, allocations: 222.2 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.716/1.88, allocations: 0 / 490 MB, free: 10.67 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)