Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.WaterComponents.WaterPumpMech,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001637/0.001637, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 84.12 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5322/0.5322, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.064e-05, allocations: 4.156 kB / 425.4 MB, free: 8.141 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1286, allocations: 60.26 MB / 485.6 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.509/7.638, allocations: 2.885 GB / 3.359 GB, free: 147.3 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/7.638, allocations: 80.47 kB / 3.36 GB, free: 147.3 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.9469/8.585, allocations: 221.7 MB / 3.576 GB, free: 88.93 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.796e-06/8.585, allocations: 0 / 3.576 GB, free: 88.93 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.463e-05/8.585, allocations: 15.38 kB / 3.576 GB, free: 88.93 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.006206/8.591, allocations: 1.152 MB / 3.577 GB, free: 88.39 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/8.591, allocations: 10.03 kB / 3.577 GB, free: 88.39 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/8.592, allocations: 79.5 kB / 3.577 GB, free: 88.36 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/8.593, allocations: 479.9 kB / 3.578 GB, free: 88.14 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.242e-05/8.593, allocations: 54.41 kB / 3.578 GB, free: 88.11 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.512e-05/8.593, allocations: 27.69 kB / 3.578 GB, free: 88.11 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006287/8.594, allocations: 310.1 kB / 3.578 GB, free: 88.11 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/8.595, allocations: 466.7 kB / 3.579 GB, free: 87.97 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/8.595, allocations: 7.859 kB / 3.579 GB, free: 87.96 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/8.595, allocations: 7.453 kB / 3.579 GB, free: 87.96 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/8.595, allocations: 16.08 kB / 3.579 GB, free: 87.96 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/8.597, allocations: 1.928 MB / 3.58 GB, free: 86.98 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/8.598, allocations: 268.2 kB / 3.581 GB, free: 86.96 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/8.598, allocations: 136 kB / 3.581 GB, free: 86.95 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06294/8.661, allocations: 31.97 MB / 3.612 GB, free: 67.59 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/8.661, allocations: 46.23 kB / 3.612 GB, free: 67.55 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=35): time 3.016e-06/8.661, allocations: 0 / 3.612 GB, free: 67.55 MB / 0.5108 GB Notification: Performance of matching and sorting (n=38): time 0.003174/8.664, allocations: 1.156 MB / 3.613 GB, free: 67.01 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/8.664, allocations: 62.94 kB / 3.613 GB, free: 66.95 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/8.665, allocations: 244.1 kB / 3.614 GB, free: 66.84 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/8.665, allocations: 28.66 kB / 3.614 GB, free: 66.81 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/8.665, allocations: 266.5 kB / 3.614 GB, free: 66.66 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 9.219e-05/8.665, allocations: 128.7 kB / 3.614 GB, free: 66.57 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.012e-05/8.665, allocations: 0 / 3.614 GB, free: 66.57 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001193/8.665, allocations: 344 kB / 3.614 GB, free: 66.26 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/8.665, allocations: 97.48 kB / 3.614 GB, free: 66.26 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/8.666, allocations: 158.4 kB / 3.615 GB, free: 66.21 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/8.666, allocations: 119.8 kB / 3.615 GB, free: 66.21 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/8.666, allocations: 3.906 kB / 3.615 GB, free: 66.21 MB / 0.5108 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007902/8.667, allocations: 397 kB / 3.615 GB, free: 66.13 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/8.667, allocations: 0.6116 MB / 3.616 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/8.667, allocations: 1.312 kB / 3.616 GB, free: 65.5 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/8.668, allocations: 110.7 kB / 3.616 GB, free: 65.49 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/8.668, allocations: 94.69 kB / 3.616 GB, free: 65.49 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007007/8.669, allocations: 0.6685 MB / 3.616 GB, free: 64.96 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/8.669, allocations: 31.05 kB / 3.617 GB, free: 64.96 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/8.669, allocations: 27.95 kB / 3.617 GB, free: 64.96 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/8.669, allocations: 3.812 kB / 3.617 GB, free: 64.96 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008958/8.67, allocations: 314.6 kB / 3.617 GB, free: 64.95 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/8.67, allocations: 6.156 kB / 3.617 GB, free: 64.95 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002966/8.67, allocations: 69.36 kB / 3.617 GB, free: 64.95 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/8.671, allocations: 97 kB / 3.617 GB, free: 64.95 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004568/8.671, allocations: 0.608 MB / 3.618 GB, free: 64.42 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/8.672, allocations: 31.3 kB / 3.618 GB, free: 64.42 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/8.672, allocations: 21.08 kB / 3.618 GB, free: 64.42 MB / 0.5108 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Pump.dp:VARIABLE(unit = "Pa" ) "Outlet pressure minus inlet pressure" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.00023/8.672, allocations: 118.6 kB / 3.618 GB, free: 64.31 MB / 0.5108 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007414/8.673, allocations: 318.4 kB / 3.618 GB, free: 64.24 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.24e-05/8.673, allocations: 38.38 kB / 3.618 GB, free: 64.22 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/8.674, allocations: 0.6083 MB / 3.619 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/8.674, allocations: 6.281 kB / 3.619 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/8.674, allocations: 1.375 kB / 3.619 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/8.674, allocations: 3.094 kB / 3.619 GB, free: 64.16 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/8.676, allocations: 1.248 MB / 3.62 GB, free: 63.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/8.676, allocations: 5.609 kB / 3.62 GB, free: 63.79 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/8.676, allocations: 87.19 kB / 3.62 GB, free: 63.79 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/8.677, allocations: 427.2 kB / 3.62 GB, free: 63.77 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/8.677, allocations: 6.469 kB / 3.62 GB, free: 63.77 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007904/8.678, allocations: 0.8682 MB / 3.621 GB, free: 63.24 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/8.678, allocations: 1.312 kB / 3.621 GB, free: 63.24 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/8.68, allocations: 0.9267 MB / 3.622 GB, free: 62.95 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/8.68, allocations: 142.5 kB / 3.622 GB, free: 62.84 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/8.68, allocations: 4.734 kB / 3.622 GB, free: 62.84 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/8.68, allocations: 36.09 kB / 3.622 GB, free: 62.83 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/8.68, allocations: 26.86 kB / 3.622 GB, free: 62.83 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/8.68, allocations: 18.12 kB / 3.622 GB, free: 62.83 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0003257/8.681, allocations: 193 kB / 3.623 GB, free: 62.75 MB / 0.5108 GB Notification: Performance of sort global known variables: time 3.31e-07/8.681, allocations: 0 / 3.623 GB, free: 62.75 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007838/8.689, allocations: 0.9537 MB / 3.624 GB, free: 62.62 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01452/8.703, allocations: 2.812 MB / 3.626 GB, free: 61.41 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.00258/8.706, allocations: 0.507 MB / 3.627 GB, free: 61.4 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/8.706, allocations: 3.938 kB / 3.627 GB, free: 61.39 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.0007165/8.707, allocations: 215.7 kB / 3.627 GB, free: 61.39 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/8.708, allocations: 101.5 kB / 3.627 GB, free: 61.38 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008794/8.717, allocations: 1.263 MB / 3.628 GB, free: 60.94 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/8.718, allocations: 0.8668 MB / 3.629 GB, free: 60.23 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.0006858/8.718, allocations: 109.3 kB / 3.629 GB, free: 60.23 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/8.719, allocations: 184.1 kB / 3.629 GB, free: 60.23 MB / 0.5108 GB Notification: Performance of SimCode: time 1.743e-06/8.719, allocations: 0 / 3.629 GB, free: 60.23 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09951/8.818, allocations: 30.95 MB / 3.66 GB, free: 58.59 MB / 0.5108 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/8.819, allocations: 134 kB / 3.66 GB, free: 58.39 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.517/12.34, allocations: 3.938 kB / 3.66 GB, free: 58.39 MB / 0.5108 GB (rm -f ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_WaterComponents_WaterPumpMech.fmu > ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech.pipe 2>&1)