Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8272/0.8272, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003294, allocations: 16.31 kB / 237.8 MB, free: 1.781 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05031/0.05065, allocations: 31.34 MB / 269.1 MB, free: 7.043 MB / 222.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.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.618/1.669, allocations: 296.1 MB / 0.552 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4929/2.162, allocations: 186.1 MB / 0.7337 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/2.162, allocations: 12.28 kB / 0.7338 GB, free: 328 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:37:3-38:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:39:3-40:51:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:41:3-42:52:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004767/2.163, allocations: 163.5 kB / 0.7339 GB, free: 324 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004533/2.163, allocations: 257.5 kB / 0.7342 GB, free: 320 kB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.02759/2.191, allocations: 10.99 MB / 0.7449 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001079/2.192, allocations: 0.8191 MB / 0.7457 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/2.192, allocations: 384.9 kB / 0.7461 GB, free: 32 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000381/2.193, allocations: 355.5 kB / 0.7464 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/2.193, allocations: 328.8 kB / 0.7467 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.106e-05/2.193, allocations: 62.05 kB / 0.7468 GB, free: 28 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03126/2.224, allocations: 19.45 MB / 0.7658 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/2.224, allocations: 144.9 kB / 0.7659 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005332/2.225, allocations: 378.3 kB / 0.7663 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/2.246, allocations: 9.919 MB / 0.776 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/2.246, allocations: 0 / 0.776 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/2.246, allocations: 0 / 0.776 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.333e-05/2.246, allocations: 7 kB / 0.776 GB, free: 10.56 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004852/2.25, allocations: 2.02 MB / 0.7779 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/2.251, allocations: 13.55 kB / 0.7779 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/2.251, allocations: 83.41 kB / 0.778 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005124/2.251, allocations: 433.9 kB / 0.7784 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.312e-05/2.251, allocations: 49.88 kB / 0.7785 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/2.251, allocations: 72.06 kB / 0.7786 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/2.252, allocations: 0.7062 MB / 0.7792 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/2.252, allocations: 0 / 0.7792 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.273e-05/2.252, allocations: 30.25 kB / 0.7793 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/2.252, allocations: 25.42 kB / 0.7793 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005822/2.253, allocations: 440.6 kB / 0.7797 GB, free: 8.613 MB / 0.6075 GB 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.01582/2.269, allocations: 11.94 MB / 0.7914 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002096/2.269, allocations: 132.4 kB / 0.7915 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/2.269, allocations: 101 kB / 0.7916 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1551/2.424, allocations: 77.4 MB / 0.8672 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/2.424, allocations: 38.44 kB / 0.8672 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 2.925e-06/2.424, allocations: 0 / 0.8672 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0007169/2.425, allocations: 317.5 kB / 0.8675 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/2.425, allocations: 79.45 kB / 0.8676 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005918/2.426, allocations: 0.4949 MB / 0.8681 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/2.426, allocations: 25.7 kB / 0.8681 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000226/2.426, allocations: 367.6 kB / 0.8685 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/2.426, allocations: 148.9 kB / 0.8686 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/2.426, allocations: 107.5 kB / 0.8687 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001215/2.426, allocations: 363.2 kB / 0.8691 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/2.426, allocations: 103.6 kB / 0.8692 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/2.427, allocations: 278.7 kB / 0.8694 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/2.427, allocations: 431.8 kB / 0.8698 GB, free: 11 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/2.427, allocations: 1.688 kB / 0.8698 GB, free: 11 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007088/2.428, allocations: 466.5 kB / 0.8703 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/2.428, allocations: 9.25 kB / 0.8703 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/2.428, allocations: 8 kB / 0.8703 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/2.428, allocations: 8 kB / 0.8703 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/2.428, allocations: 72.36 kB / 0.8704 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/2.428, allocations: 12.69 kB / 0.8704 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/2.429, allocations: 71.12 kB / 0.8705 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/2.429, allocations: 20.31 kB / 0.8705 GB, free: 10.45 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002205/2.429, allocations: 201.6 kB / 0.8707 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/2.429, allocations: 51.34 kB / 0.8707 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/2.43, allocations: 0.6297 MB / 0.8713 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/2.43, allocations: 4 kB / 0.8713 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/2.43, allocations: 2.625 kB / 0.8713 GB, free: 9.551 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/2.43, allocations: 168.1 kB / 0.8715 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.001e-05/2.43, allocations: 3.938 kB / 0.8715 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/2.43, allocations: 10.06 kB / 0.8715 GB, free: 9.355 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/2.43, allocations: 10.14 kB / 0.8715 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007007/2.431, allocations: 0.6954 MB / 0.8722 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007892/2.432, allocations: 0.807 MB / 0.873 GB, free: 7.828 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002868/2.432, allocations: 270 kB / 0.8732 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004382/2.432, allocations: 342.9 kB / 0.8736 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of Backend: time 5.91e-07/2.433, allocations: 0 / 0.8736 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01507/2.448, allocations: 3.676 MB / 0.8772 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of SimCode: time 0.002506/2.45, allocations: 1.921 MB / 0.879 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of Templates: time 0.1001/2.55, allocations: 74.6 MB / 0.9519 GB, free: 7.449 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)