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.00112/0.00112, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 75.88 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3372, allocations: 62.43 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002987/0.3402, allocations: 1.21 MB / 0.5317 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008735/0.3411, allocations: 330.2 kB / 0.532 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.3411, allocations: 5.594 kB / 0.532 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.697e-05/0.3412, allocations: 0 / 0.532 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.3412, allocations: 0 / 0.532 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004951/0.3417, allocations: 65.95 kB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.335e-05/0.3418, allocations: 6.969 kB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.3419, allocations: 1.406 kB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.3419, allocations: 1.656 kB / 0.5321 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.3422, allocations: 38.05 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.3422, allocations: 1.469 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-06/0.3422, allocations: 0 / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3422, allocations: 3.938 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.3422, allocations: 1.312 kB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 5.772e-05/0.3423, allocations: 5.266 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3423, allocations: 4 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3423, allocations: 1.25 kB / 0.5321 GB, free: 12.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3423, allocations: 0 / 0.5321 GB, free: 12.15 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.0003081/0.3426, allocations: 311 kB / 0.5324 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3427, allocations: 9.156 kB / 0.5324 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.3427, allocations: 35.88 kB / 0.5325 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.3428, allocations: 0.9375 kB / 0.5325 GB, free: 11.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3429, allocations: 170 kB / 0.5326 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3429, allocations: 384 / 0.5326 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3429, allocations: 4.375 kB / 0.5326 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.343, allocations: 32.98 kB / 0.5327 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.343, allocations: 3.938 kB / 0.5327 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.343, allocations: 5.172 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.343, allocations: 0 / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.869e-05/0.3431, allocations: 1.094 kB / 0.5327 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.3434, allocations: 380.5 kB / 0.533 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.246e-05/0.3435, allocations: 174.5 kB / 0.5332 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.3436, allocations: 88.08 kB / 0.5333 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.3436, allocations: 76.94 kB / 0.5334 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/0.3437, allocations: 105.8 kB / 0.5335 GB, free: 10.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3437, allocations: 0 / 0.5335 GB, free: 10.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.357e-05/0.3438, allocations: 31.2 kB / 0.5335 GB, free: 10.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.3439, allocations: 126.7 kB / 0.5336 GB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.344, allocations: 91.55 kB / 0.5337 GB, free: 10.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.344, allocations: 29.69 kB / 0.5337 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.344, allocations: 85.52 kB / 0.5338 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.344, allocations: 3.938 kB / 0.5338 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.3441, allocations: 15.16 kB / 0.5338 GB, free: 10.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3442, allocations: 316.2 kB / 0.5341 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.3443, allocations: 9.094 kB / 0.5341 GB, free: 9.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.3443, allocations: 1 kB / 0.5341 GB, free: 9.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.3443, allocations: 6.203 kB / 0.5342 GB, free: 9.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3443, allocations: 3.938 kB / 0.5342 GB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/0.3444, allocations: 31.45 kB / 0.5342 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3444, allocations: 6.844 kB / 0.5342 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.3445, allocations: 5.078 kB / 0.5342 GB, free: 9.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.3445, allocations: 4.094 kB / 0.5342 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.155e-05/0.3446, allocations: 1.281 kB / 0.5342 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3446, allocations: 1.469 kB / 0.5342 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.3446, allocations: 0 / 0.5342 GB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.3446, allocations: 5.25 kB / 0.5342 GB, free: 9.836 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.0001213/0.3447, allocations: 194.1 kB / 0.5344 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.3448, allocations: 102.4 kB / 0.5345 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.3449, allocations: 107.9 kB / 0.5346 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.403e-05/0.345, allocations: 189.8 kB / 0.5348 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-05/0.3451, allocations: 177.7 kB / 0.5349 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.542e-05/0.3451, allocations: 184.2 kB / 0.5351 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.3454, allocations: 402.6 kB / 0.5355 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.853e-05/0.3455, allocations: 102.5 kB / 0.5356 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.3455, allocations: 113 kB / 0.5357 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.04e-05/0.3456, allocations: 177.6 kB / 0.5359 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/0.3457, allocations: 185.8 kB / 0.5361 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-05/0.3458, allocations: 182 kB / 0.5362 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.959e-05/0.3458, allocations: 180.2 kB / 0.5364 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.346, allocations: 311.2 kB / 0.5367 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.3461, allocations: 184.2 kB / 0.5369 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/0.3462, allocations: 180.2 kB / 0.537 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.3463, allocations: 106.9 kB / 0.5371 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.3463, allocations: 180.2 kB / 0.5373 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.753e-05/0.3464, allocations: 106.7 kB / 0.5374 GB, free: 6.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.3464, allocations: 77.09 kB / 0.5375 GB, free: 6.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.3464, allocations: 0 / 0.5375 GB, free: 6.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.3467, allocations: 3.938 kB / 0.5375 GB, free: 6.266 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.0004179/0.3471, allocations: 0.8109 MB / 0.5383 GB, free: 5.441 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.328e-05/0.3472, allocations: 5.781 kB / 0.5383 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3472, allocations: 1.812 kB / 0.5383 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.3472, allocations: 0 / 0.5383 GB, free: 5.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.3475, allocations: 459.6 kB / 0.5387 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.3479, allocations: 199.5 kB / 0.5389 GB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.3482, allocations: 0.669 MB / 0.5396 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.656e-05/0.3482, allocations: 1.781 kB / 0.5396 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.3483, allocations: 7.438 kB / 0.5396 GB, free: 4.055 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3483, allocations: 0 / 0.5396 GB, free: 4.055 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.365, allocations: 0.8958 MB / 0.5405 GB, free: 3.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.885, allocations: 2.453 kB / 0.5405 GB, free: 3.531 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)