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.001126/0.001126, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001325, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3433, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002084/0.3455, allocations: 1.204 MB / 0.5317 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006504/0.3461, allocations: 343.5 kB / 0.532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.258e-05/0.3462, allocations: 0 / 0.532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.3462, allocations: 0 / 0.532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.734e-05/0.3462, allocations: 0 / 0.532 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.3467, allocations: 59.62 kB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.63e-05/0.3467, allocations: 2.969 kB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.3468, allocations: 3.938 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.639e-05/0.3468, allocations: 5.438 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.347, allocations: 39.73 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.347, allocations: 0 / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.298e-06/0.3471, allocations: 0 / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.3471, allocations: 1.281 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.786e-05/0.3471, allocations: 9.422 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.123e-05/0.3471, allocations: 0 / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3472, allocations: 1.25 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3472, allocations: 0 / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.3472, allocations: 0 / 0.5321 GB, free: 12.14 MB / 398.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.0002427/0.3474, allocations: 311.2 kB / 0.5324 GB, free: 11.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3475, allocations: 9.25 kB / 0.5324 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.3475, allocations: 35.69 kB / 0.5325 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.3475, allocations: 2.094 kB / 0.5325 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.808e-05/0.3476, allocations: 164.4 kB / 0.5326 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3476, allocations: 384 / 0.5326 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-06/0.3476, allocations: 2 kB / 0.5326 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.459e-05/0.3477, allocations: 27.73 kB / 0.5327 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3477, allocations: 13.48 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.3477, allocations: 0 / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.3477, allocations: 0 / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.3478, allocations: 4.938 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.348, allocations: 381.5 kB / 0.533 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.914e-05/0.3481, allocations: 170.7 kB / 0.5332 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.685e-05/0.3481, allocations: 84.14 kB / 0.5333 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3482, allocations: 75.28 kB / 0.5334 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.3482, allocations: 115.5 kB / 0.5335 GB, free: 10.62 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3482, allocations: 0 / 0.5335 GB, free: 10.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 5.61e-05/0.3483, allocations: 25.7 kB / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.3483, allocations: 128.2 kB / 0.5336 GB, free: 10.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.3484, allocations: 103.3 kB / 0.5337 GB, free: 10.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.3484, allocations: 25.7 kB / 0.5337 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.3485, allocations: 84.05 kB / 0.5338 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-06/0.3485, allocations: 1.562 kB / 0.5338 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.3485, allocations: 19.06 kB / 0.5338 GB, free: 10.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.3486, allocations: 310.8 kB / 0.5341 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.3486, allocations: 1.469 kB / 0.5341 GB, free: 9.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.3486, allocations: 1.281 kB / 0.5341 GB, free: 9.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.774e-05/0.3487, allocations: 13.83 kB / 0.5341 GB, free: 9.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3487, allocations: 9 kB / 0.5342 GB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.581e-05/0.3487, allocations: 34.19 kB / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3488, allocations: 5.906 kB / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.3488, allocations: 0 / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.3488, allocations: 0 / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.3488, allocations: 2.344 kB / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3488, allocations: 0 / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.3488, allocations: 1.531 kB / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.3489, allocations: 4 kB / 0.5342 GB, free: 9.828 MB / 398.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.745e-05/0.3489, allocations: 194.4 kB / 0.5344 GB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.256e-05/0.349, allocations: 105.9 kB / 0.5345 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.349, allocations: 113.3 kB / 0.5346 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/0.3491, allocations: 180.2 kB / 0.5348 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.584e-05/0.3492, allocations: 181.8 kB / 0.5349 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/0.3492, allocations: 177.8 kB / 0.5351 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.3494, allocations: 410.5 kB / 0.5355 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-05/0.3495, allocations: 101 kB / 0.5356 GB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.3495, allocations: 110.4 kB / 0.5357 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.768e-05/0.3496, allocations: 177.7 kB / 0.5359 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.696e-05/0.3496, allocations: 180.3 kB / 0.536 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.349e-05/0.3497, allocations: 189.6 kB / 0.5362 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.434e-05/0.3497, allocations: 178.1 kB / 0.5364 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.3499, allocations: 303.2 kB / 0.5367 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3499, allocations: 190.3 kB / 0.5369 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.35, allocations: 182 kB / 0.537 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.3501, allocations: 105 kB / 0.5371 GB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.3501, allocations: 182.1 kB / 0.5373 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.3502, allocations: 102.7 kB / 0.5374 GB, free: 6.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.844e-05/0.3502, allocations: 75.28 kB / 0.5375 GB, free: 6.266 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3502, allocations: 4.094 kB / 0.5375 GB, free: 6.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.3504, allocations: 1.781 kB / 0.5375 GB, free: 6.262 MB / 398.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.0003529/0.3508, allocations: 0.8145 MB / 0.5383 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.382e-05/0.3508, allocations: 1.781 kB / 0.5383 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3509, allocations: 4.062 kB / 0.5383 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.3509, allocations: 1.844 kB / 0.5383 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.3512, allocations: 460.3 kB / 0.5387 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.3515, allocations: 197.2 kB / 0.5389 GB, free: 4.754 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.3517, allocations: 0.669 MB / 0.5396 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.3517, allocations: 4 kB / 0.5396 GB, free: 4.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.3517, allocations: 9.219 kB / 0.5396 GB, free: 4.047 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3517, allocations: 0 / 0.5396 GB, free: 4.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.3664, allocations: 0.9062 MB / 0.5405 GB, free: 3.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.502, allocations: 6.391 kB / 0.5405 GB, free: 3.512 MB / 398.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)