Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7956/0.7956, allocations: 150.9 MB / 166.7 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 11.98 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 31.33 MB / 236.1 MB, free: 5.441 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.TestSimpleStaticCondenser): time 1.611/1.761, allocations: 295.2 MB / 0.5189 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02994/1.791, allocations: 24.48 MB / 0.5428 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005134/1.791, allocations: 4.75 kB / 0.5428 GB, free: 3.762 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44:writable] Warning: Connector Ec 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/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:61:3-63:42:writable] Warning: Connector Ef 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/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:64:3-66:36:writable] Warning: Connector Sf 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/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc 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/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C 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/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C 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.0006299/1.792, allocations: 178.4 kB / 0.5429 GB, free: 3.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/1.792, allocations: 226.9 kB / 0.5432 GB, free: 3.367 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01785/1.81, allocations: 6.491 MB / 0.5495 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/1.812, allocations: 0.8788 MB / 0.5504 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004071/1.812, allocations: 247 kB / 0.5506 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/1.812, allocations: 342.5 kB / 0.5509 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/1.813, allocations: 274.5 kB / 0.5512 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/1.813, allocations: 40 kB / 0.5512 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02295/1.836, allocations: 15.94 MB / 0.5668 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.836, allocations: 91.58 kB / 0.5669 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004821/1.836, allocations: 334.2 kB / 0.5672 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007518/1.844, allocations: 4.658 MB / 0.5717 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.844, allocations: 0 / 0.5717 GB, free: 6.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.363e-06/1.844, allocations: 4 kB / 0.5717 GB, free: 6.094 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/1.844, allocations: 0 / 0.5717 GB, free: 6.094 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003369/1.847, allocations: 1.478 MB / 0.5732 GB, free: 4.566 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/1.847, allocations: 12.03 kB / 0.5732 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/1.848, allocations: 68 kB / 0.5733 GB, free: 4.488 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002974/1.848, allocations: 322.1 kB / 0.5736 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.694e-05/1.848, allocations: 29.38 kB / 0.5736 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.474e-05/1.848, allocations: 44.31 kB / 0.5736 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/1.849, allocations: 0.6988 MB / 0.5743 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/1.849, allocations: 3.938 kB / 0.5743 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/1.849, allocations: 20 kB / 0.5743 GB, free: 3.301 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/1.849, allocations: 31.97 kB / 0.5744 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/1.849, allocations: 455.6 kB / 0.5748 GB, free: 2.824 MB / 462.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.07006/1.92, allocations: 36.14 MB / 0.6101 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/1.92, allocations: 378.3 kB / 0.6105 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/1.92, allocations: 294.8 kB / 0.6107 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07674/1.997, allocations: 36.35 MB / 0.6462 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/1.997, allocations: 38.56 kB / 0.6463 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=124): time 2.264e-06/1.997, allocations: 0 / 0.6463 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of matching and sorting (n=124): time 0.002195/2, allocations: 1.203 MB / 0.6475 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/2, allocations: 59.34 kB / 0.6475 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/2, allocations: 320.5 kB / 0.6478 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/2, allocations: 29.7 kB / 0.6478 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/2, allocations: 221.3 kB / 0.6481 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/2, allocations: 389.9 kB / 0.6484 GB, free: 300 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/2, allocations: 117.6 kB / 0.6485 GB, free: 176 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001525/2.001, allocations: 366.8 kB / 0.6489 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/2.001, allocations: 233.2 kB / 0.6491 GB, free: 15.58 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/2.001, allocations: 324.5 kB / 0.6494 GB, free: 15.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/2.002, allocations: 0.6175 MB / 0.65 GB, free: 14.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/2.002, allocations: 0 / 0.65 GB, free: 14.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00101/2.003, allocations: 0.7802 MB / 0.6508 GB, free: 13.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/2.003, allocations: 4.938 kB / 0.6508 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/2.003, allocations: 11.92 kB / 0.6508 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/2.005, allocations: 339.7 kB / 0.6511 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.728e-05/2.005, allocations: 16 kB / 0.6511 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/2.006, allocations: 1.298 MB / 0.6524 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/2.006, allocations: 70.97 kB / 0.6525 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/2.006, allocations: 12 kB / 0.6525 GB, free: 12 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000216/2.006, allocations: 181.8 kB / 0.6527 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/2.006, allocations: 55.19 kB / 0.6527 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/2.01, allocations: 4.031 MB / 0.6566 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001025/2.011, allocations: 0.8196 MB / 0.6574 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/2.011, allocations: 0 / 0.6574 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/2.011, allocations: 7.922 kB / 0.6575 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/2.014, allocations: 2.182 MB / 0.6596 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/2.014, allocations: 3.984 kB / 0.6596 GB, free: 4.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/2.014, allocations: 95.84 kB / 0.6597 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007521/2.015, allocations: 241.5 kB / 0.6599 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/2.015, allocations: 16 kB / 0.6599 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009782/2.016, allocations: 1.329 MB / 0.6612 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/2.016, allocations: 4 kB / 0.6612 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/2.017, allocations: 0.9688 MB / 0.6622 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/2.017, allocations: 188 kB / 0.6624 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.093e-05/2.017, allocations: 43.66 kB / 0.6624 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/2.017, allocations: 15.94 kB / 0.6624 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-05/2.018, allocations: 48.53 kB / 0.6625 GB, free: 1.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.44e-05/2.018, allocations: 16 kB / 0.6625 GB, free: 1.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004636/2.018, allocations: 422.8 kB / 0.6629 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/2.018, allocations: 0 / 0.6629 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002821/2.021, allocations: 0.9916 MB / 0.6638 GB, free: 15.99 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00362/2.024, allocations: 1.177 MB / 0.665 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00182/2.026, allocations: 1.022 MB / 0.666 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/2.026, allocations: 0 / 0.666 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005359/2.027, allocations: 416.2 kB / 0.6664 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/2.029, allocations: 436.8 kB / 0.6668 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/2.031, allocations: 1.788 MB / 0.6686 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/2.031, allocations: 0.9868 MB / 0.6695 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.846e-05/2.031, allocations: 55.38 kB / 0.6696 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/2.031, allocations: 0 / 0.6696 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.188/2.219, allocations: 31.83 MB / 0.7007 GB, free: 225.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)