Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8083/0.8083, allocations: 150.9 MB / 167.1 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 15.98 kB / 205.9 MB, free: 9.023 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1253, allocations: 31.33 MB / 237.3 MB, free: 5.766 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution): time 1.544/1.67, allocations: 294.2 MB / 0.519 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/1.684, allocations: 12.02 MB / 0.5307 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/1.684, allocations: 7.938 kB / 0.5308 GB, free: 1.711 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:15:3-17:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/PressureLosses/SingularPressureLoss.mo:18:3-19:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:46:3-48:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/Machines/StaticCentrifugalPump.mo:49:3-50:83:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/BoundaryConditions/SourcePQ.mo:9:3-10:83:writable] Warning: Connector Cs is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSolution/BoundaryConditions/Sink.mo:10:3-12:16:writable] Warning: Connector Ce is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0001214/1.684, allocations: 32.59 kB / 0.5308 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/1.684, allocations: 65.06 kB / 0.5308 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007208/1.692, allocations: 3.424 MB / 0.5342 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/1.692, allocations: 263.3 kB / 0.5344 GB, free: 13.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/1.692, allocations: 155.9 kB / 0.5346 GB, free: 13.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/1.692, allocations: 102.9 kB / 0.5347 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/1.692, allocations: 115.5 kB / 0.5348 GB, free: 13.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/1.692, allocations: 24 kB / 0.5348 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01064/1.703, allocations: 7.659 MB / 0.5423 GB, free: 5.914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-05/1.703, allocations: 55.78 kB / 0.5424 GB, free: 5.859 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/1.703, allocations: 136.2 kB / 0.5425 GB, free: 5.727 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004791/1.708, allocations: 3.391 MB / 0.5458 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/1.708, allocations: 0.7812 kB / 0.5458 GB, free: 2.328 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/1.708, allocations: 0 / 0.5458 GB, free: 2.328 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.635e-06/1.708, allocations: 0.8125 kB / 0.5458 GB, free: 2.328 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001624/1.71, allocations: 0.8116 MB / 0.5466 GB, free: 1.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/1.71, allocations: 8.812 kB / 0.5466 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/1.71, allocations: 32.66 kB / 0.5466 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/1.71, allocations: 229.1 kB / 0.5469 GB, free: 1.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/1.71, allocations: 20.94 kB / 0.5469 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/1.71, allocations: 26.16 kB / 0.5469 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004838/1.711, allocations: 291.8 kB / 0.5472 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.711, allocations: 3.984 kB / 0.5472 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/1.711, allocations: 12 kB / 0.5472 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/1.711, allocations: 8 kB / 0.5472 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/1.711, allocations: 187.2 kB / 0.5474 GB, free: 0.6055 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006003/1.717, allocations: 3.044 MB / 0.5503 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/1.718, allocations: 178.8 kB / 0.5505 GB, free: 13.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001845/1.718, allocations: 72.81 kB / 0.5506 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004581/1.723, allocations: 1.715 MB / 0.5523 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/1.723, allocations: 141 kB / 0.5524 GB, free: 11.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.374e-06/1.723, allocations: 3.938 kB / 0.5524 GB, free: 11.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006703/1.724, allocations: 272.4 kB / 0.5527 GB, free: 10.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/1.724, allocations: 110.8 kB / 0.5528 GB, free: 10.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/1.724, allocations: 262.5 kB / 0.553 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/1.724, allocations: 29.7 kB / 0.553 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/1.724, allocations: 160.2 kB / 0.5532 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/1.724, allocations: 55.2 kB / 0.5533 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/1.724, allocations: 53.69 kB / 0.5533 GB, free: 10.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/1.724, allocations: 334.8 kB / 0.5536 GB, free: 9.844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/1.724, allocations: 68.2 kB / 0.5537 GB, free: 9.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/1.725, allocations: 115.3 kB / 0.5538 GB, free: 9.637 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002661/1.727, allocations: 0.6362 MB / 0.5544 GB, free: 8.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.727, allocations: 0 / 0.5544 GB, free: 8.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005399/1.728, allocations: 282.9 kB / 0.5547 GB, free: 8.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/1.728, allocations: 33.7 kB / 0.5547 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.728, allocations: 3.984 kB / 0.5547 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/1.728, allocations: 4 kB / 0.5547 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/1.729, allocations: 215.8 kB / 0.5549 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002954/1.73, allocations: 0.586 MB / 0.5555 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/1.73, allocations: 39.7 kB / 0.5555 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/1.73, allocations: 12 kB / 0.5556 GB, free: 7.75 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: pulse.T0:DISCRETE(fixed = true protected = true ) type: Real Pulse1.T0:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.pulse.T0,$PRE.Pulse1.T0,pulse.T0,Pulse1.yL.signal,Pulse1.T0,$whenCondition2,sinkSolution.Ce.a,sourceSolution.Cs.b,staticCentrifugalPumpWaterLiBr.C2.b,staticCentrifugalPumpWaterLiBr.C1.a,singularPressureLossWaterLiBr.C2.b,singularPressureLossWaterLiBr.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001804/1.73, allocations: 180.6 kB / 0.5557 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/1.73, allocations: 23.72 kB / 0.5557 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/1.731, allocations: 240.6 kB / 0.556 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.731, allocations: 4 kB / 0.556 GB, free: 7.281 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.731, allocations: 7.938 kB / 0.556 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.731, allocations: 3.984 kB / 0.556 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/1.731, allocations: 289.4 kB / 0.5563 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.731, allocations: 0 / 0.5563 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.733, allocations: 195.8 kB / 0.5565 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/1.733, allocations: 0 / 0.5565 GB, free: 6.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/1.733, allocations: 8 kB / 0.5565 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002583/1.733, allocations: 0.5897 MB / 0.557 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.733, allocations: 0 / 0.557 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/1.733, allocations: 255.5 kB / 0.5573 GB, free: 5.852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/1.733, allocations: 113.4 kB / 0.5574 GB, free: 5.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/1.734, allocations: 11.98 kB / 0.5574 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.734, allocations: 11.98 kB / 0.5574 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/1.734, allocations: 15.98 kB / 0.5574 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/1.734, allocations: 11.94 kB / 0.5574 GB, free: 5.672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001513/1.734, allocations: 182 kB / 0.5576 GB, free: 5.496 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.333e-06/1.734, allocations: 8 kB / 0.5576 GB, free: 5.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009968/1.735, allocations: 403.6 kB / 0.558 GB, free: 5.094 MB / 446.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: 5 ($whenCondition1,$whenCondition2,Pulse1.T0,Pulse1.yL.signal,pulse.T0) * Number of discrete states: 3 (Pulse1.yL.signal,Pulse1.T0,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/1.736, allocations: 0.4911 MB / 0.5585 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/1.747, allocations: 0.8954 MB / 0.5594 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.747, allocations: 0 / 0.5594 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00967/1.757, allocations: 0.6639 MB / 0.56 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/1.757, allocations: 38.55 kB / 0.56 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009648/1.758, allocations: 453.8 kB / 0.5605 GB, free: 2.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/1.759, allocations: 0.748 MB / 0.5612 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.663e-05/1.759, allocations: 25.05 kB / 0.5612 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/1.759, allocations: 27.44 kB / 0.5613 GB, free: 1.688 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/1.759, allocations: 0 / 0.5613 GB, free: 1.688 MB / 446.1 MB Notification: Performance of Templates: time 0.01749/1.776, allocations: 13 MB / 0.574 GB, free: 4.738 MB / 462.1 MB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)