Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00107/0.00107, allocations: 176.2 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.54/1.54, allocations: 194.3 MB / 202.4 MB, free: 12.96 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001701/0.001701, allocations: 107.5 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.183/0.183, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.717e-05/1.72e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2505, allocations: 54.89 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.656, allocations: 2.628 GB / 3.066 GB, free: 121.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/6.656, allocations: 88.38 kB / 3.066 GB, free: 121.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409/8.065, allocations: 451.9 MB / 3.507 GB, free: 55.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.913e-06/8.065, allocations: 0 / 3.507 GB, free: 55.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.138e-05/8.066, allocations: 37.12 kB / 3.507 GB, free: 55.95 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007008/8.073, allocations: 2.313 MB / 3.509 GB, free: 54.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/8.073, allocations: 6.156 kB / 3.509 GB, free: 54.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002739/8.075, allocations: 445.5 kB / 3.51 GB, free: 54.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/8.077, allocations: 1.012 MB / 3.511 GB, free: 53.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/8.077, allocations: 47.53 kB / 3.511 GB, free: 53.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/8.077, allocations: 75.91 kB / 3.511 GB, free: 53.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001488/8.079, allocations: 0.9544 MB / 3.512 GB, free: 53.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/8.081, allocations: 1.225 MB / 3.513 GB, free: 52.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.951e-05/8.081, allocations: 7.594 kB / 3.513 GB, free: 52.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.932e-05/8.081, allocations: 3.875 kB / 3.513 GB, free: 52.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/8.081, allocations: 47.89 kB / 3.513 GB, free: 52.91 MB / 490.7 MB 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.1372/8.218, allocations: 71.41 MB / 3.583 GB, free: 16.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/8.219, allocations: 0.5046 MB / 3.583 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/8.219, allocations: 262.7 kB / 3.583 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3191/8.538, allocations: 17.01 MB / 3.6 GB, free: 70.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/8.538, allocations: 42.67 kB / 3.6 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 4.879e-06/8.539, allocations: 1.219 kB / 3.6 GB, free: 70.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.02862/8.567, allocations: 4.73 MB / 3.605 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/8.567, allocations: 138.5 kB / 3.605 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/8.569, allocations: 0.713 MB / 3.606 GB, free: 68.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/8.569, allocations: 26.67 kB / 3.606 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006024/8.569, allocations: 0.7419 MB / 3.606 GB, free: 68.63 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/8.57, allocations: 290.2 kB / 3.607 GB, free: 68.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/8.57, allocations: 1.031 kB / 3.607 GB, free: 68.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/8.57, allocations: 353.5 kB / 3.607 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/8.571, allocations: 389.5 kB / 3.607 GB, free: 68.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008787/8.571, allocations: 0.8554 MB / 3.608 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/8.573, allocations: 0.6094 MB / 3.609 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.638e-05/8.573, allocations: 5.219 kB / 3.609 GB, free: 67.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004228/8.578, allocations: 1.547 MB / 3.61 GB, free: 67.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001437/8.579, allocations: 6.269 MB / 3.616 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.035e-05/8.579, allocations: 18.31 kB / 3.616 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/8.581, allocations: 460.2 kB / 3.617 GB, free: 60.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/8.582, allocations: 312.1 kB / 3.617 GB, free: 60.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/8.584, allocations: 1.666 MB / 3.619 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/8.586, allocations: 142.1 kB / 3.619 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/8.586, allocations: 84.8 kB / 3.619 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/8.586, allocations: 3.75 kB / 3.619 GB, free: 59.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002388/8.589, allocations: 1.185 MB / 3.62 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.471e-05/8.589, allocations: 21.3 kB / 3.62 GB, free: 59.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/8.59, allocations: 308.1 kB / 3.62 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/8.591, allocations: 309.4 kB / 3.621 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001184/8.592, allocations: 1.395 MB / 3.622 GB, free: 58.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/8.593, allocations: 124 kB / 3.622 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/8.594, allocations: 74.16 kB / 3.622 GB, free: 58.75 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003416/8.594, allocations: 157.6 kB / 3.622 GB, free: 58.65 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/8.594, allocations: 115.5 kB / 3.623 GB, free: 58.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/8.598, allocations: 2.771 MB / 3.625 GB, free: 58.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003709/8.602, allocations: 2.371 MB / 3.628 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/8.602, allocations: 3.562 kB / 3.628 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/8.602, allocations: 3.938 kB / 3.628 GB, free: 58.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007237/8.61, allocations: 4.585 MB / 3.632 GB, free: 57.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/8.61, allocations: 0 / 3.632 GB, free: 57.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/8.61, allocations: 143.5 kB / 3.632 GB, free: 57.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/8.612, allocations: 1.466 MB / 3.634 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/8.612, allocations: 20.73 kB / 3.634 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/8.615, allocations: 2.64 MB / 3.636 GB, free: 56.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.127/8.742, allocations: 56.49 MB / 3.691 GB, free: 50.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/8.747, allocations: 3.218 MB / 3.695 GB, free: 50.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008355/8.748, allocations: 358.4 kB / 3.695 GB, free: 50.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/8.748, allocations: 1.922 kB / 3.695 GB, free: 50.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/8.749, allocations: 85.03 kB / 3.695 GB, free: 50 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/8.749, allocations: 65.5 kB / 3.695 GB, free: 50 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/8.75, allocations: 39.27 kB / 3.695 GB, free: 50 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001034/8.751, allocations: 0.6192 MB / 3.696 GB, free: 49.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/8.751, allocations: 0 / 3.696 GB, free: 49.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01529/8.766, allocations: 3.93 MB / 3.7 GB, free: 49.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.02731/8.793, allocations: 3.382 MB / 3.703 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004354/8.798, allocations: 1.898 MB / 3.705 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/8.798, allocations: 1.062 kB / 3.705 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/8.799, allocations: 0.81 MB / 3.705 GB, free: 49.19 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/8.801, allocations: 352.9 kB / 3.706 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/8.807, allocations: 2.743 MB / 3.708 GB, free: 47.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/8.807, allocations: 1.359 MB / 3.71 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002181/8.809, allocations: 0.8763 MB / 3.711 GB, free: 45.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/8.81, allocations: 111.8 kB / 3.711 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/8.81, allocations: 0 / 3.711 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.42/9.23, allocations: 116.4 MB / 3.824 GB, free: 84.47 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1)