Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001949/0.00195, allocations: 171.5 kB / 7.638 MB, free: 1.418 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.409/1.409, 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.001649/0.001649, allocations: 103.4 kB / 218 MB, free: 8.418 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.1941/0.1941, allocations: 37.97 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.511e-05, allocations: 2.812 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09325/0.09328, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.875/6.968, allocations: 2.501 GB / 2.891 GB, free: 72.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/6.968, allocations: 83.86 kB / 2.891 GB, free: 72.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.595/8.564, allocations: 422 MB / 3.303 GB, free: 7.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/8.564, allocations: 0 / 3.303 GB, free: 7.055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.08e-05/8.564, allocations: 19.94 kB / 3.303 GB, free: 7.035 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00792/8.572, allocations: 1.702 MB / 3.305 GB, free: 5.293 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/8.572, allocations: 12.03 kB / 3.305 GB, free: 5.281 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002864/8.575, allocations: 310.8 kB / 3.305 GB, free: 4.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/8.576, allocations: 0.5932 MB / 3.306 GB, free: 4.352 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.669e-05/8.576, allocations: 24 kB / 3.306 GB, free: 4.328 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/8.576, allocations: 32 kB / 3.306 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/8.577, allocations: 0.5414 MB / 3.306 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/8.579, allocations: 0.6594 MB / 3.307 GB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/8.579, allocations: 7.922 kB / 3.307 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.015e-05/8.579, allocations: 8 kB / 3.307 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/8.579, allocations: 21.31 kB / 3.307 GB, free: 2.996 MB / 426.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.009706/8.588, allocations: 5.74 MB / 3.312 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/8.59, allocations: 468 kB / 3.313 GB, free: 12.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/8.59, allocations: 218.1 kB / 3.313 GB, free: 12.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5226/9.113, allocations: 81.78 MB / 3.393 GB, free: 24.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/9.113, allocations: 39.56 kB / 3.393 GB, free: 23.99 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 3.136e-06/9.113, allocations: 3.594 kB / 3.393 GB, free: 23.99 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.007622/9.12, allocations: 1.804 MB / 3.395 GB, free: 23.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/9.121, allocations: 111 kB / 3.395 GB, free: 23.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008476/9.122, allocations: 385.9 kB / 3.395 GB, free: 23.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.383e-05/9.122, allocations: 29.17 kB / 3.395 GB, free: 23.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/9.122, allocations: 343 kB / 3.396 GB, free: 23.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/9.122, allocations: 166.4 kB / 3.396 GB, free: 23.12 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/9.122, allocations: 0 / 3.396 GB, free: 23.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/9.122, allocations: 364 kB / 3.396 GB, free: 22.81 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003316/9.123, allocations: 193.3 kB / 3.396 GB, free: 22.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004274/9.123, allocations: 376 kB / 3.397 GB, free: 22.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/9.124, allocations: 333 kB / 3.397 GB, free: 22.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/9.124, allocations: 3.875 kB / 3.397 GB, free: 22.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00228/9.127, allocations: 0.8485 MB / 3.398 GB, free: 22.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009925/9.128, allocations: 2.176 MB / 3.4 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/9.128, allocations: 11.08 kB / 3.4 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/9.129, allocations: 302.4 kB / 3.4 GB, free: 20.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/9.129, allocations: 144.1 kB / 3.4 GB, free: 20.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/9.131, allocations: 0.9329 MB / 3.401 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008492/9.132, allocations: 85.34 kB / 3.401 GB, free: 19.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/9.132, allocations: 38.92 kB / 3.401 GB, free: 19.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/9.132, allocations: 10.66 kB / 3.401 GB, free: 19.64 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/9.134, allocations: 0.7021 MB / 3.402 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/9.134, allocations: 12.12 kB / 3.402 GB, free: 19.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/9.135, allocations: 274.3 kB / 3.402 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/9.135, allocations: 155.5 kB / 3.402 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009634/9.136, allocations: 0.8502 MB / 3.403 GB, free: 19.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/9.137, allocations: 82.14 kB / 3.403 GB, free: 19.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/9.137, allocations: 37.48 kB / 3.403 GB, free: 19.05 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (61): * Single equations (assignments): 60 * 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 18} Notification: Performance of prepare postOptimizeDAE: time 0.0002424/9.137, allocations: 117.8 kB / 3.404 GB, free: 18.95 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/9.137, allocations: 69.83 kB / 3.404 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/9.141, allocations: 2.633 MB / 3.406 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.493e-05/9.141, allocations: 38.2 kB / 3.406 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/9.141, allocations: 2.781 kB / 3.406 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/9.141, allocations: 3.656 kB / 3.406 GB, free: 18.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/9.145, allocations: 3.591 MB / 3.41 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/9.145, allocations: 0 / 3.41 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007086/9.146, allocations: 168.8 kB / 3.41 GB, free: 18.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/9.146, allocations: 64.81 kB / 3.41 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/9.146, allocations: 10.45 kB / 3.41 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/9.148, allocations: 1.205 MB / 3.411 GB, free: 33.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/9.148, allocations: 0 / 3.411 GB, free: 33.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/9.151, allocations: 2.263 MB / 3.413 GB, free: 32.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005779/9.151, allocations: 325.8 kB / 3.414 GB, free: 32.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/9.151, allocations: 0 / 3.414 GB, free: 32.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/9.152, allocations: 61.84 kB / 3.414 GB, free: 32.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/9.152, allocations: 57.11 kB / 3.414 GB, free: 32.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/9.152, allocations: 23.78 kB / 3.414 GB, free: 32.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005337/9.153, allocations: 358.6 kB / 3.414 GB, free: 32.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.153, allocations: 1.125 kB / 3.414 GB, free: 32.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007133/9.16, allocations: 1.331 MB / 3.415 GB, free: 32.59 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01106/9.171, allocations: 1.815 MB / 3.417 GB, free: 32.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002871/9.174, allocations: 1.23 MB / 3.418 GB, free: 32.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/9.174, allocations: 320 / 3.418 GB, free: 32.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/9.175, allocations: 0.751 MB / 3.419 GB, free: 32.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/9.177, allocations: 272.8 kB / 3.419 GB, free: 32.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1159/9.293, allocations: 55.18 MB / 3.473 GB, free: 19.18 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/9.294, allocations: 1.149 MB / 3.474 GB, free: 18.18 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001315/9.295, allocations: 0.677 MB / 3.475 GB, free: 17.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/9.296, allocations: 57.47 kB / 3.475 GB, free: 17.73 MB / 474.7 MB Notification: Performance of SimCode: time 1.653e-06/9.296, allocations: 0 / 3.475 GB, free: 17.73 MB / 474.7 MB Notification: Performance of Templates: time 0.3699/9.666, allocations: 38.88 MB / 3.513 GB, free: 79.63 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1)