Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.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.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.828/0.828, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003545, allocations: 16.66 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05956/0.05993, allocations: 31.34 MB / 269.1 MB, free: 7.062 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.TestStaticExchangerKS): time 1.695/1.755, allocations: 295.8 MB / 0.5517 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5392/2.294, allocations: 188.6 MB / 0.7359 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003396/2.295, allocations: 15.84 kB / 0.7359 GB, free: 1.754 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerKS.mo:58:3-60:35: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/HeatExchangers/StaticExchangerKS.mo:61:3-63:37: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/StaticExchangerKS.mo:64:3-66:35: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/StaticExchangerKS.mo:67:3-69:32: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/BoundaryConditions/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47: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.0001982/2.295, allocations: 82.44 kB / 0.736 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004182/2.295, allocations: 231.1 kB / 0.7362 GB, free: 1.75 MB / 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.02941/2.325, allocations: 11.66 MB / 0.7476 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008737/2.325, allocations: 0.7761 MB / 0.7483 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000533/2.326, allocations: 406.6 kB / 0.7487 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003054/2.326, allocations: 313.1 kB / 0.749 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002912/2.327, allocations: 343.4 kB / 0.7493 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/2.327, allocations: 69.97 kB / 0.7494 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03459/2.361, allocations: 20.22 MB / 0.7692 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002353/2.362, allocations: 160.8 kB / 0.7693 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004822/2.362, allocations: 368.2 kB / 0.7697 GB, free: 0.582 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02547/2.388, allocations: 10.32 MB / 0.7797 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/2.388, allocations: 3.844 kB / 0.7797 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/2.388, allocations: 0 / 0.7797 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.119e-05/2.388, allocations: 0 / 0.7797 GB, free: 12.81 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005717/2.393, allocations: 2.091 MB / 0.7818 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/2.393, allocations: 10.81 kB / 0.7818 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/2.394, allocations: 82.28 kB / 0.7819 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/2.394, allocations: 447.2 kB / 0.7823 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/2.394, allocations: 54.53 kB / 0.7824 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/2.394, allocations: 65.03 kB / 0.7824 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/2.395, allocations: 0.6896 MB / 0.7831 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/2.395, allocations: 0 / 0.7831 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.596e-05/2.395, allocations: 29.28 kB / 0.7831 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/2.395, allocations: 16.28 kB / 0.7831 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006954/2.396, allocations: 0.4921 MB / 0.7836 GB, free: 10.84 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.01516/2.411, allocations: 11.86 MB / 0.7952 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003198/2.411, allocations: 180.5 kB / 0.7954 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/2.412, allocations: 93.08 kB / 0.7955 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3103/2.722, allocations: 151.1 MB / 0.943 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/2.722, allocations: 37.75 kB / 0.9431 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 3.807e-06/2.722, allocations: 0 / 0.9431 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.003065/2.725, allocations: 0.7578 MB / 0.9438 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/2.725, allocations: 51.41 kB / 0.9438 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/2.726, allocations: 477.8 kB / 0.9443 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/2.726, allocations: 25.7 kB / 0.9443 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/2.726, allocations: 364.2 kB / 0.9447 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/2.726, allocations: 74.94 kB / 0.9447 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/2.726, allocations: 102 kB / 0.9448 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001278/2.726, allocations: 357.9 kB / 0.9452 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/2.727, allocations: 84.84 kB / 0.9453 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/2.727, allocations: 265.7 kB / 0.9455 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/2.727, allocations: 376.5 kB / 0.9459 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.727, allocations: 4 kB / 0.9459 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008698/2.728, allocations: 0.4883 MB / 0.9464 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/2.728, allocations: 4 kB / 0.9464 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/2.728, allocations: 8 kB / 0.9464 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/2.732, allocations: 0.5072 MB / 0.9469 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/2.732, allocations: 62.36 kB / 0.9469 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/2.733, allocations: 0.798 MB / 0.9477 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/2.733, allocations: 64.97 kB / 0.9478 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/2.733, allocations: 16 kB / 0.9478 GB, free: 7.391 MB / 0.7794 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,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002661/2.733, allocations: 196 kB / 0.948 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/2.734, allocations: 51.42 kB / 0.948 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/2.735, allocations: 422.1 kB / 0.9484 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/2.735, allocations: 7.984 kB / 0.9484 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/2.735, allocations: 1.203 kB / 0.9484 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001969/2.735, allocations: 148.4 kB / 0.9486 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/2.735, allocations: 0 / 0.9486 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/2.735, allocations: 8 kB / 0.9486 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/2.735, allocations: 11.98 kB / 0.9486 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001015/2.736, allocations: 418.9 kB / 0.949 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005916/2.737, allocations: 496.5 kB / 0.9495 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000123/2.737, allocations: 55.97 kB / 0.9495 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003601/2.737, allocations: 326.9 kB / 0.9498 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of Backend: time 1.142e-06/2.737, allocations: 0 / 0.9498 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01596/2.753, allocations: 3.744 MB / 0.9535 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of SimCode: time 0.00221/2.755, allocations: 1.533 MB / 0.955 GB, free: 408 kB / 0.7794 GB Notification: Performance of Templates: time 0.3382/3.094, allocations: 75.98 MB / 1.029 GB, free: 460.8 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe 2>&1)