Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001325/0.001325, allocations: 122.8 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 202 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.224/0.224, allocations: 46.11 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002274/0.002274, allocations: 83.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3461, allocations: 62.43 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002669/0.3488, allocations: 1.216 MB / 0.5318 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.3495, allocations: 341.4 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.3495, allocations: 0 / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.3495, allocations: 3.938 kB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.99e-05/0.3496, allocations: 0 / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.35, allocations: 57.12 kB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.345e-05/0.3501, allocations: 6.219 kB / 0.5322 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.955e-05/0.3501, allocations: 5.484 kB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.3501, allocations: 1.875 kB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.3504, allocations: 38.14 kB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.316e-06/0.3504, allocations: 1.188 kB / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-06/0.3504, allocations: 0 / 0.5322 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.512e-05/0.3504, allocations: 3.938 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.783e-05/0.3504, allocations: 2.25 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.597e-05/0.3505, allocations: 0 / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3505, allocations: 1.219 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3505, allocations: 4 kB / 0.5322 GB, free: 12.08 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3505, allocations: 0 / 0.5322 GB, free: 12.08 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.0003032/0.3508, allocations: 311.7 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.3509, allocations: 9.375 kB / 0.5325 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.3509, allocations: 38.69 kB / 0.5326 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.192e-05/0.3509, allocations: 2.25 kB / 0.5326 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3511, allocations: 164.4 kB / 0.5327 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.3511, allocations: 1.312 kB / 0.5327 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.3511, allocations: 384 / 0.5327 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.3512, allocations: 33.3 kB / 0.5328 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3512, allocations: 3.938 kB / 0.5328 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3512, allocations: 0.6875 kB / 0.5328 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3512, allocations: 0 / 0.5328 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.66e-05/0.3512, allocations: 5.266 kB / 0.5328 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.3516, allocations: 383.2 kB / 0.5331 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3517, allocations: 174.5 kB / 0.5333 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/0.3517, allocations: 80.14 kB / 0.5334 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/0.3518, allocations: 75.28 kB / 0.5335 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.3518, allocations: 111.1 kB / 0.5336 GB, free: 10.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3518, allocations: 0 / 0.5336 GB, free: 10.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.29e-05/0.3519, allocations: 38.89 kB / 0.5336 GB, free: 10.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.352, allocations: 130.7 kB / 0.5337 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.671e-05/0.3521, allocations: 91.14 kB / 0.5338 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3521, allocations: 26.58 kB / 0.5338 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.3522, allocations: 81.39 kB / 0.5339 GB, free: 10.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-06/0.3522, allocations: 3.938 kB / 0.5339 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3522, allocations: 15.06 kB / 0.5339 GB, free: 10.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3524, allocations: 312.2 kB / 0.5342 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.574e-06/0.3524, allocations: 4.125 kB / 0.5342 GB, free: 9.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.3524, allocations: 9.203 kB / 0.5342 GB, free: 9.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.3524, allocations: 7.609 kB / 0.5342 GB, free: 9.812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3525, allocations: 3.938 kB / 0.5342 GB, free: 9.809 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.882e-05/0.3526, allocations: 34.83 kB / 0.5343 GB, free: 9.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3526, allocations: 7.25 kB / 0.5343 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3526, allocations: 0 / 0.5343 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3526, allocations: 0 / 0.5343 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.3527, allocations: 10.31 kB / 0.5343 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3527, allocations: 0 / 0.5343 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.3527, allocations: 4.891 kB / 0.5343 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3527, allocations: 0 / 0.5343 GB, free: 9.766 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 0.0001028/0.3528, allocations: 198.2 kB / 0.5345 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.3529, allocations: 102.1 kB / 0.5346 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.3529, allocations: 112.9 kB / 0.5347 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.258e-05/0.353, allocations: 181.4 kB / 0.5349 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.88e-05/0.3531, allocations: 181.3 kB / 0.535 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/0.3532, allocations: 177.5 kB / 0.5352 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3534, allocations: 406.1 kB / 0.5356 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.787e-05/0.3535, allocations: 106.1 kB / 0.5357 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.3535, allocations: 106.1 kB / 0.5358 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.596e-05/0.3536, allocations: 189.3 kB / 0.536 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/0.3537, allocations: 177.4 kB / 0.5362 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.311e-05/0.3538, allocations: 181.4 kB / 0.5363 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.078e-05/0.3539, allocations: 181.3 kB / 0.5365 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.354, allocations: 311 kB / 0.5368 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3541, allocations: 183.6 kB / 0.537 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.3542, allocations: 181.3 kB / 0.5371 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.3543, allocations: 106 kB / 0.5372 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.3544, allocations: 181.3 kB / 0.5374 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3545, allocations: 106 kB / 0.5375 GB, free: 6.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.3545, allocations: 80.44 kB / 0.5376 GB, free: 6.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.3545, allocations: 0 / 0.5376 GB, free: 6.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002115/0.3548, allocations: 5.031 kB / 0.5376 GB, free: 6.191 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.0004404/0.3552, allocations: 0.8067 MB / 0.5384 GB, free: 5.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 5.905e-05/0.3553, allocations: 6.781 kB / 0.5384 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3553, allocations: 0 / 0.5384 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.3553, allocations: 1.375 kB / 0.5384 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.3557, allocations: 457.1 kB / 0.5388 GB, free: 4.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.356, allocations: 182.8 kB / 0.539 GB, free: 4.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.3563, allocations: 0.6767 MB / 0.5397 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.715e-05/0.3563, allocations: 1.406 kB / 0.5397 GB, free: 4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.19e-05/0.3564, allocations: 10.69 kB / 0.5397 GB, free: 3.992 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3564, allocations: 0 / 0.5397 GB, free: 3.992 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.3759, allocations: 0.9072 MB / 0.5406 GB, free: 3.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.279, allocations: 7.062 kB / 0.5406 GB, free: 3.477 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1)