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.0009355/0.0009355, allocations: 97.59 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 202.1 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.000281, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1145, allocations: 63.56 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.001468/0.116, allocations: 0.9388 MB / 484.1 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006747/0.1167, allocations: 336.2 kB / 484.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-06/0.1168, allocations: 0 / 484.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.189e-05/0.1168, allocations: 0 / 484.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.666e-05/0.1168, allocations: 0 / 484.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.1172, allocations: 55.88 kB / 484.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.002e-05/0.1173, allocations: 0 / 484.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.1173, allocations: 4 kB / 484.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.845e-05/0.1173, allocations: 7.922 kB / 484.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.1175, allocations: 39.95 kB / 484.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-06/0.1176, allocations: 4 kB / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.419e-06/0.1176, allocations: 0 / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.576e-06/0.1176, allocations: 0 / 484.6 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.1176, allocations: 25.7 kB / 484.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 4.047e-05/0.1177, allocations: 7.938 kB / 484.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1177, allocations: 4 kB / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1177, allocations: 0 / 484.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1177, allocations: 4 kB / 484.6 MB, free: 2.621 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.0002411/0.118, allocations: 307.5 kB / 484.9 MB, free: 2.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.118, allocations: 8.938 kB / 484.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.118, allocations: 34.75 kB / 484.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.1181, allocations: 0.9375 kB / 484.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.1182, allocations: 164.3 kB / 485.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1182, allocations: 384 / 485.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.1183, allocations: 4.375 kB / 485.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.1184, allocations: 30.27 kB / 485.1 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1184, allocations: 7.922 kB / 485.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1184, allocations: 4 kB / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.1184, allocations: 0 / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.1184, allocations: 0 / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.1188, allocations: 375.5 kB / 485.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.687e-05/0.1189, allocations: 177 kB / 485.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/0.1189, allocations: 80.14 kB / 485.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-05/0.119, allocations: 83.3 kB / 485.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.119, allocations: 105.8 kB / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.119, allocations: 0 / 486 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.178e-05/0.1191, allocations: 25.7 kB / 486 MB, free: 1.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.1191, allocations: 134.6 kB / 486.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.828e-05/0.1192, allocations: 98.14 kB / 486.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1192, allocations: 25.7 kB / 486.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.1193, allocations: 84.08 kB / 486.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.1193, allocations: 0 / 486.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1193, allocations: 9.719 kB / 486.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1194, allocations: 314.8 kB / 486.6 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-06/0.1195, allocations: 4.125 kB / 486.6 MB, free: 364 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.37e-06/0.1195, allocations: 4 kB / 486.6 MB, free: 360 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.1195, allocations: 4.859 kB / 486.6 MB, free: 352 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1195, allocations: 3.938 kB / 486.6 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.645e-05/0.1196, allocations: 41.55 kB / 486.7 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1196, allocations: 11.94 kB / 486.7 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1196, allocations: 3.938 kB / 486.7 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.1196, allocations: 0 / 486.7 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.116e-05/0.1197, allocations: 4.094 kB / 486.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1197, allocations: 0 / 486.7 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.1197, allocations: 4 kB / 486.7 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.1197, allocations: 0 / 486.7 MB, free: 276 kB / 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.749e-05/0.1198, allocations: 189 kB / 486.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.1199, allocations: 101 kB / 487 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.12, allocations: 112 kB / 487.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.639e-05/0.12, allocations: 180.3 kB / 487.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.75e-05/0.1201, allocations: 180.3 kB / 487.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-05/0.1202, allocations: 188.2 kB / 487.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.1204, allocations: 405.2 kB / 488 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.579e-05/0.1204, allocations: 108.9 kB / 488.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.751e-05/0.1205, allocations: 101 kB / 488.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-05/0.1205, allocations: 188.4 kB / 488.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.922e-05/0.1206, allocations: 188.2 kB / 488.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.944e-05/0.1207, allocations: 176.3 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.823e-05/0.1207, allocations: 180.2 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.1209, allocations: 315.7 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.121, allocations: 178.1 kB / 489.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.612e-05/0.1211, allocations: 180.3 kB / 489.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.491e-05/0.1212, allocations: 104.9 kB / 489.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.1213, allocations: 180.2 kB / 489.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.1214, allocations: 108.9 kB / 490 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.055e-05/0.1214, allocations: 83.28 kB / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1214, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001999/0.1216, allocations: 0 / 490.1 MB, free: 12.68 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.0004997/0.1221, allocations: 0.8049 MB / 490.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.593e-05/0.1222, allocations: 4 kB / 490.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.1222, allocations: 0 / 490.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.876e-06/0.1222, allocations: 3.938 kB / 490.9 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1227, allocations: 0.5248 MB / 491.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.1231, allocations: 193.6 kB / 491.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1234, allocations: 0.6731 MB / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.327e-05/0.1234, allocations: 0 / 492.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.575e-05/0.1235, allocations: 7.438 kB / 492.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1235, allocations: 0 / 492.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1458/0.2693, allocations: 0.7173 MB / 493 MB, free: 9.793 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.2696, allocations: 213.5 kB / 493.2 MB, free: 9.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.142, allocations: 0 / 493.2 MB, free: 9.543 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)