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.7695/0.7695, allocations: 150.9 MB / 166.7 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 15.98 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 31.33 MB / 236.1 MB, free: 5.453 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.638/1.794, allocations: 293.3 MB / 0.517 GB, free: 14.31 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/1.805, allocations: 12.28 MB / 0.529 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002142/1.805, allocations: 5.281 kB / 0.529 GB, free: 2.766 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.0001232/1.805, allocations: 24.62 kB / 0.529 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/1.806, allocations: 45.62 kB / 0.5291 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006588/1.812, allocations: 3.003 MB / 0.532 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000369/1.813, allocations: 267.3 kB / 0.5323 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002248/1.813, allocations: 159.6 kB / 0.5324 GB, free: 15.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/1.813, allocations: 103.6 kB / 0.5325 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/1.813, allocations: 120.2 kB / 0.5326 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/1.813, allocations: 24 kB / 0.5326 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01023/1.823, allocations: 7.514 MB / 0.54 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/1.823, allocations: 48.28 kB / 0.54 GB, free: 7.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/1.824, allocations: 131.8 kB / 0.5402 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002736/1.826, allocations: 2.254 MB / 0.5424 GB, free: 5.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.826, allocations: 3.938 kB / 0.5424 GB, free: 5.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/1.826, allocations: 0.6562 kB / 0.5424 GB, free: 5.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/1.826, allocations: 0 / 0.5424 GB, free: 5.109 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.001768/1.828, allocations: 0.8081 MB / 0.5432 GB, free: 4.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/1.828, allocations: 10.19 kB / 0.5432 GB, free: 4.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/1.828, allocations: 28.66 kB / 0.5432 GB, free: 4.215 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/1.829, allocations: 240.8 kB / 0.5434 GB, free: 3.941 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/1.829, allocations: 20.94 kB / 0.5434 GB, free: 3.922 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/1.829, allocations: 28.31 kB / 0.5435 GB, free: 3.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/1.829, allocations: 286.6 kB / 0.5437 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.829, allocations: 5.031 kB / 0.5437 GB, free: 3.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/1.829, allocations: 12 kB / 0.5438 GB, free: 3.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/1.829, allocations: 11.56 kB / 0.5438 GB, free: 3.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/1.83, allocations: 177.6 kB / 0.5439 GB, free: 3.395 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.005401/1.835, allocations: 3.019 MB / 0.5469 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005344/1.836, allocations: 185.8 kB / 0.5471 GB, free: 52 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/1.836, allocations: 64.83 kB / 0.5471 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003959/1.84, allocations: 1.696 MB / 0.5488 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002729/1.84, allocations: 142.5 kB / 0.5489 GB, free: 14.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/1.84, allocations: 7.875 kB / 0.5489 GB, free: 14.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006283/1.841, allocations: 272.3 kB / 0.5492 GB, free: 13.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.841, allocations: 110.8 kB / 0.5493 GB, free: 13.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/1.841, allocations: 262.5 kB / 0.5495 GB, free: 13.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/1.841, allocations: 33.69 kB / 0.5496 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/1.841, allocations: 160.2 kB / 0.5497 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/1.841, allocations: 51.27 kB / 0.5498 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/1.841, allocations: 49.7 kB / 0.5498 GB, free: 13.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/1.841, allocations: 342.8 kB / 0.5501 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/1.842, allocations: 60.19 kB / 0.5502 GB, free: 12.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/1.842, allocations: 123.2 kB / 0.5503 GB, free: 12.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/1.844, allocations: 0.6326 MB / 0.5509 GB, free: 11.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.844, allocations: 0 / 0.5509 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005057/1.845, allocations: 291.5 kB / 0.5512 GB, free: 11.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.305e-05/1.845, allocations: 35.27 kB / 0.5512 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.845, allocations: 0 / 0.5512 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/1.845, allocations: 4 kB / 0.5513 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.846, allocations: 207.9 kB / 0.5515 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003114/1.847, allocations: 0.5938 MB / 0.552 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/1.847, allocations: 43.73 kB / 0.5521 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.144e-05/1.847, allocations: 11.98 kB / 0.5521 GB, free: 10.61 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.0001806/1.847, allocations: 173.2 kB / 0.5522 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/1.847, allocations: 25.36 kB / 0.5523 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/1.848, allocations: 241.4 kB / 0.5525 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/1.848, allocations: 4 kB / 0.5525 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/1.848, allocations: 3.938 kB / 0.5525 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.848, allocations: 0 / 0.5525 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/1.848, allocations: 289.4 kB / 0.5528 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.848, allocations: 0 / 0.5528 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/1.849, allocations: 203.7 kB / 0.553 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.849, allocations: 0 / 0.553 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/1.849, allocations: 11.98 kB / 0.553 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002692/1.85, allocations: 0.5937 MB / 0.5536 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.85, allocations: 0 / 0.5536 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/1.85, allocations: 243.6 kB / 0.5538 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.85, allocations: 124.7 kB / 0.5539 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/1.85, allocations: 11.88 kB / 0.5539 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/1.85, allocations: 16.08 kB / 0.554 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/1.851, allocations: 19.97 kB / 0.554 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/1.851, allocations: 7.938 kB / 0.554 GB, free: 8.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001561/1.851, allocations: 186 kB / 0.5542 GB, free: 8.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/1.851, allocations: 0 / 0.5542 GB, free: 8.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009972/1.852, allocations: 399.8 kB / 0.5545 GB, free: 7.953 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.001392/1.853, allocations: 0.4969 MB / 0.555 GB, free: 7.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0105/1.864, allocations: 0.8898 MB / 0.5559 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.864, allocations: 0 / 0.5559 GB, free: 6.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009239/1.873, allocations: 0.6518 MB / 0.5565 GB, free: 5.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/1.873, allocations: 46.64 kB / 0.5566 GB, free: 5.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/1.874, allocations: 0.5386 MB / 0.5571 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/1.875, allocations: 0.7441 MB / 0.5578 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/1.875, allocations: 27.42 kB / 0.5578 GB, free: 4.477 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/1.875, allocations: 0 / 0.5578 GB, free: 4.477 MB / 446.1 MB Notification: Performance of Templates: time 0.01362/1.888, allocations: 10.25 MB / 0.5679 GB, free: 10.37 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCentrifugalPumpWaterSolution.pipe 2>&1)