Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001425/0.001425, allocations: 164.8 kB / 7.638 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.538/1.538, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001957/0.001956, allocations: 112.5 kB / 218 MB, free: 8.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.22/0.22, allocations: 37.97 MB / 295.1 MB, free: 9.523 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.143e-05, allocations: 2.188 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 48.73 MB / 398.7 MB, free: 5.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.556/6.673, allocations: 2.517 GB / 2.906 GB, free: 69.18 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/6.673, allocations: 92.97 kB / 2.907 GB, free: 69.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719/8.392, allocations: 440.5 MB / 3.337 GB, free: 43.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.524e-06/8.392, allocations: 0 / 3.337 GB, free: 43.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001164/8.393, allocations: 34.98 kB / 3.337 GB, free: 43.91 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009289/8.402, allocations: 2.259 MB / 3.339 GB, free: 42.93 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/8.402, allocations: 9.844 kB / 3.339 GB, free: 42.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/8.405, allocations: 430.5 kB / 3.339 GB, free: 42.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/8.408, allocations: 1.002 MB / 3.34 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.962e-05/8.408, allocations: 47.25 kB / 3.34 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/8.409, allocations: 78.81 kB / 3.341 GB, free: 42.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00222/8.411, allocations: 0.9333 MB / 3.341 GB, free: 42.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/8.413, allocations: 1.205 MB / 3.343 GB, free: 42.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.228e-05/8.413, allocations: 10.47 kB / 3.343 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/8.413, allocations: 2.906 kB / 3.343 GB, free: 42.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.974e-05/8.414, allocations: 45.5 kB / 3.343 GB, free: 42.2 MB / 442.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.1669/8.581, allocations: 71.38 MB / 3.412 GB, free: 21.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/8.581, allocations: 499.2 kB / 3.413 GB, free: 21.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/8.582, allocations: 245.1 kB / 3.413 GB, free: 21.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03118/8.613, allocations: 17.02 MB / 3.43 GB, free: 26.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/8.613, allocations: 46.02 kB / 3.43 GB, free: 26.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/8.613, allocations: 4 kB / 3.43 GB, free: 26.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.02585/8.639, allocations: 4.719 MB / 3.434 GB, free: 25.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/8.639, allocations: 140.5 kB / 3.434 GB, free: 25.2 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009095/8.64, allocations: 0.7141 MB / 3.435 GB, free: 25.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.916e-05/8.64, allocations: 25.7 kB / 3.435 GB, free: 25.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/8.64, allocations: 0.738 MB / 3.436 GB, free: 24.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/8.64, allocations: 279.7 kB / 3.436 GB, free: 24.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/8.641, allocations: 0 / 3.436 GB, free: 24.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/8.641, allocations: 354.9 kB / 3.437 GB, free: 24.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/8.641, allocations: 365.5 kB / 3.437 GB, free: 24.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006446/8.642, allocations: 0.8491 MB / 3.438 GB, free: 23.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/8.643, allocations: 0.594 MB / 3.438 GB, free: 23.47 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/8.643, allocations: 3.969 kB / 3.438 GB, free: 23.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002989/8.646, allocations: 1.535 MB / 3.44 GB, free: 23.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002197/8.649, allocations: 6.357 MB / 3.446 GB, free: 16.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/8.649, allocations: 23.67 kB / 3.446 GB, free: 16.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/8.651, allocations: 0.5591 MB / 3.447 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/8.652, allocations: 293.6 kB / 3.447 GB, free: 16.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/8.655, allocations: 1.786 MB / 3.449 GB, free: 31.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/8.657, allocations: 122 kB / 3.449 GB, free: 31.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/8.657, allocations: 82.42 kB / 3.449 GB, free: 31.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/8.657, allocations: 2.875 kB / 3.449 GB, free: 31.55 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002835/8.66, allocations: 1.234 MB / 3.45 GB, free: 31.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/8.66, allocations: 21.62 kB / 3.45 GB, free: 31.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/8.661, allocations: 376.4 kB / 3.45 GB, free: 31.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/8.662, allocations: 308.3 kB / 3.451 GB, free: 31.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/8.663, allocations: 1.5 MB / 3.452 GB, free: 30.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/8.665, allocations: 95.97 kB / 3.452 GB, free: 30.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/8.665, allocations: 66.03 kB / 3.452 GB, free: 30.4 MB / 490.7 MB 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: 73 * 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 (142): * Single equations (assignments): 140 * 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: 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004216/8.665, allocations: 164.8 kB / 3.452 GB, free: 30.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/8.665, allocations: 115.4 kB / 3.453 GB, free: 30.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003871/8.669, allocations: 2.698 MB / 3.455 GB, free: 29.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/8.669, allocations: 21.44 kB / 3.455 GB, free: 29.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/8.669, allocations: 6 kB / 3.455 GB, free: 29.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/8.669, allocations: 3.75 kB / 3.455 GB, free: 29.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005969/8.675, allocations: 4.271 MB / 3.459 GB, free: 29.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/8.675, allocations: 4.156 kB / 3.459 GB, free: 29.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/8.676, allocations: 116.6 kB / 3.459 GB, free: 29.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002502/8.678, allocations: 1.503 MB / 3.461 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/8.678, allocations: 15.28 kB / 3.461 GB, free: 29.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002889/8.681, allocations: 2.652 MB / 3.464 GB, free: 28.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4069/9.088, allocations: 56.78 MB / 3.519 GB, free: 74.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004247/9.092, allocations: 2.92 MB / 3.522 GB, free: 74.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008195/9.093, allocations: 345.6 kB / 3.522 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/9.093, allocations: 9.75 kB / 3.522 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/9.094, allocations: 74.08 kB / 3.522 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/9.094, allocations: 61.62 kB / 3.522 GB, free: 74.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.219e-05/9.094, allocations: 34.06 kB / 3.522 GB, free: 74.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000933/9.095, allocations: 0.6226 MB / 3.523 GB, free: 74.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/9.095, allocations: 0 / 3.523 GB, free: 74.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01833/9.114, allocations: 3.858 MB / 3.527 GB, free: 74.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.02727/9.141, allocations: 3.355 MB / 3.53 GB, free: 73.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004245/9.145, allocations: 1.815 MB / 3.532 GB, free: 73.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/9.145, allocations: 3.375 kB / 3.532 GB, free: 73.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/9.147, allocations: 0.7537 MB / 3.533 GB, free: 73.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/9.15, allocations: 355.8 kB / 3.533 GB, free: 73.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005784/9.155, allocations: 2.676 MB / 3.535 GB, free: 73.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/9.156, allocations: 1.351 MB / 3.537 GB, free: 72.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002221/9.159, allocations: 0.8944 MB / 3.538 GB, free: 72.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/9.159, allocations: 97.58 kB / 3.538 GB, free: 72.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.173e-06/9.159, allocations: 0 / 3.538 GB, free: 72.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1452/9.304, allocations: 116.3 MB / 3.651 GB, free: 39.82 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1)