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.001573/0.001573, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 46.12 MB / 344.4 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00248/0.00248, allocations: 75.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3361, allocations: 62.45 MB / 0.5306 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002305/0.3385, allocations: 1.216 MB / 0.5318 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000659/0.3392, allocations: 344 kB / 0.5321 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.275e-05/0.3392, allocations: 0 / 0.5321 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.3392, allocations: 0 / 0.5321 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.566e-05/0.3393, allocations: 0 / 0.5321 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004117/0.3397, allocations: 58.09 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.3397, allocations: 2.531 kB / 0.5322 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.3398, allocations: 5.328 kB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.3398, allocations: 1.188 kB / 0.5322 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.34, allocations: 39.98 kB / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.3401, allocations: 0 / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.489e-06/0.3401, allocations: 0 / 0.5322 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3401, allocations: 7.344 kB / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.3401, allocations: 0 / 0.5322 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 4.513e-05/0.3402, allocations: 8 kB / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3402, allocations: 0 / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3402, allocations: 0 / 0.5323 GB, free: 11.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3402, allocations: 0 / 0.5323 GB, free: 11.96 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.0003064/0.3405, allocations: 313.5 kB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3405, allocations: 8.375 kB / 0.5326 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.3406, allocations: 34.69 kB / 0.5326 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.873e-05/0.3406, allocations: 2.594 kB / 0.5326 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.3407, allocations: 160.4 kB / 0.5327 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.3407, allocations: 4.375 kB / 0.5328 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.3408, allocations: 384 / 0.5328 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.385e-05/0.3408, allocations: 33.48 kB / 0.5328 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.3409, allocations: 3.938 kB / 0.5328 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.3409, allocations: 0 / 0.5328 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3409, allocations: 1.594 kB / 0.5328 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.416e-05/0.3409, allocations: 0 / 0.5328 GB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.3412, allocations: 386.8 kB / 0.5332 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.3413, allocations: 170.7 kB / 0.5333 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.3414, allocations: 80.14 kB / 0.5334 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.3414, allocations: 75.28 kB / 0.5335 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.3415, allocations: 107.6 kB / 0.5336 GB, free: 10.46 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3415, allocations: 4 kB / 0.5336 GB, free: 10.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.231e-05/0.3416, allocations: 39.33 kB / 0.5336 GB, free: 10.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.3416, allocations: 126.7 kB / 0.5337 GB, free: 10.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.3417, allocations: 95.2 kB / 0.5338 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3417, allocations: 25.7 kB / 0.5338 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.3418, allocations: 82.86 kB / 0.5339 GB, free: 10.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.3418, allocations: 3.938 kB / 0.5339 GB, free: 10.06 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.3418, allocations: 13.66 kB / 0.5339 GB, free: 10.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.342, allocations: 316.8 kB / 0.5342 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.342, allocations: 0 / 0.5342 GB, free: 9.723 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.342, allocations: 7.547 kB / 0.5343 GB, free: 9.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.342, allocations: 8.859 kB / 0.5343 GB, free: 9.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.342, allocations: 7.938 kB / 0.5343 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.414e-05/0.3421, allocations: 36.02 kB / 0.5343 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.3421, allocations: 5.75 kB / 0.5343 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.3422, allocations: 96 / 0.5343 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3422, allocations: 7.984 kB / 0.5343 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.011e-05/0.3422, allocations: 0 / 0.5343 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3422, allocations: 3.812 kB / 0.5343 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.3422, allocations: 3.797 kB / 0.5343 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.3422, allocations: 0 / 0.5343 GB, free: 9.656 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.0001006/0.3424, allocations: 189 kB / 0.5345 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.3424, allocations: 105 kB / 0.5346 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.538e-05/0.3425, allocations: 123.1 kB / 0.5347 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/0.3426, allocations: 176.3 kB / 0.5349 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.219e-05/0.3426, allocations: 180.2 kB / 0.5351 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.546e-05/0.3427, allocations: 179.9 kB / 0.5352 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.343, allocations: 401.2 kB / 0.5356 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-05/0.343, allocations: 108.9 kB / 0.5357 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.3431, allocations: 111.1 kB / 0.5358 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.592e-05/0.3432, allocations: 184.2 kB / 0.536 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/0.3432, allocations: 179.9 kB / 0.5362 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-05/0.3433, allocations: 180.2 kB / 0.5363 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-05/0.3434, allocations: 176.3 kB / 0.5365 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.3435, allocations: 315.2 kB / 0.5368 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/0.3436, allocations: 178.4 kB / 0.537 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3437, allocations: 183.7 kB / 0.5372 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.3438, allocations: 105 kB / 0.5373 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.082e-05/0.3439, allocations: 184.3 kB / 0.5374 GB, free: 6.273 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.344, allocations: 112.5 kB / 0.5375 GB, free: 6.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.344, allocations: 75.28 kB / 0.5376 GB, free: 6.086 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.344, allocations: 0 / 0.5376 GB, free: 6.086 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002242/0.3443, allocations: 3.938 kB / 0.5376 GB, free: 6.082 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.0004872/0.3448, allocations: 0.8069 MB / 0.5384 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.848e-05/0.3448, allocations: 7.094 kB / 0.5384 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3448, allocations: 0 / 0.5384 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-06/0.3448, allocations: 0 / 0.5384 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.3453, allocations: 464 kB / 0.5389 GB, free: 4.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.3457, allocations: 184.1 kB / 0.539 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.3461, allocations: 0.6742 MB / 0.5397 GB, free: 3.891 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.623e-05/0.3461, allocations: 3.984 kB / 0.5397 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.3461, allocations: 7.438 kB / 0.5397 GB, free: 3.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3462, allocations: 0 / 0.5397 GB, free: 3.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.3685, allocations: 0.8976 MB / 0.5406 GB, free: 3.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.289/8.658, allocations: 3.359 kB / 0.5406 GB, free: 3.352 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)