Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.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.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7565/0.7565, allocations: 150.9 MB / 167 MB, free: 14.27 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 19.97 kB / 205.2 MB, free: 9.609 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1239, allocations: 31.34 MB / 236.5 MB, free: 5.445 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.TestStaticWaterWaterExchangerDTorWorEff): time 1.439/1.563, allocations: 296 MB / 0.5201 GB, free: 12.01 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02571/1.589, allocations: 23.76 MB / 0.5433 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/1.589, allocations: 7.938 kB / 0.5433 GB, free: 4.379 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceQ.mo:24:3-25:52: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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchangerDTorWorEff.mo:69:3-71:37: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/StaticWaterWaterExchangerDTorWorEff.mo:72:3-74: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/StaticWaterWaterExchangerDTorWorEff.mo:75:3-77:37: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/StaticWaterWaterExchangerDTorWorEff.mo:78:3-80:36:writable] Warning: Connector Sc 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.0005097/1.589, allocations: 223.8 kB / 0.5435 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/1.59, allocations: 229.5 kB / 0.5437 GB, free: 3.938 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.01559/1.605, allocations: 7.607 MB / 0.5511 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008289/1.606, allocations: 0.8071 MB / 0.5519 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/1.607, allocations: 236.3 kB / 0.5522 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/1.607, allocations: 319.9 kB / 0.5525 GB, free: 11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/1.607, allocations: 254.7 kB / 0.5527 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/1.607, allocations: 40 kB / 0.5527 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02235/1.63, allocations: 16.93 MB / 0.5693 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001173/1.63, allocations: 103.5 kB / 0.5694 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003276/1.63, allocations: 294.5 kB / 0.5697 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/1.641, allocations: 7.201 MB / 0.5767 GB, free: 2.152 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/1.641, allocations: 0 / 0.5767 GB, free: 2.152 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/1.641, allocations: 0 / 0.5767 GB, free: 2.152 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/1.641, allocations: 0.75 kB / 0.5767 GB, free: 2.152 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002955/1.644, allocations: 1.445 MB / 0.5781 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/1.644, allocations: 8.031 kB / 0.5781 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.245e-05/1.644, allocations: 65.72 kB / 0.5782 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/1.645, allocations: 304.6 kB / 0.5785 GB, free: 260 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/1.645, allocations: 67.25 kB / 0.5785 GB, free: 188 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/1.645, allocations: 44.12 kB / 0.5786 GB, free: 144 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007902/1.646, allocations: 0.629 MB / 0.5792 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.646, allocations: 4 kB / 0.5792 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/1.646, allocations: 17.31 kB / 0.5792 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/1.646, allocations: 27.97 kB / 0.5792 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/1.646, allocations: 442.9 kB / 0.5797 GB, free: 14.99 MB / 478.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.03628/1.683, allocations: 19.43 MB / 0.5986 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/1.683, allocations: 347.8 kB / 0.599 GB, free: 9.258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/1.683, allocations: 274.7 kB / 0.5992 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08486/1.768, allocations: 41.26 MB / 0.6395 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/1.768, allocations: 34.56 kB / 0.6395 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 3.136e-06/1.768, allocations: 0.7969 kB / 0.6395 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103): time 0.004218/1.773, allocations: 1.449 MB / 0.641 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/1.773, allocations: 55.41 kB / 0.641 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/1.773, allocations: 345.5 kB / 0.6413 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/1.773, allocations: 29.7 kB / 0.6414 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/1.773, allocations: 205.2 kB / 0.6416 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001882/1.773, allocations: 326.9 kB / 0.6419 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.773, allocations: 109.6 kB / 0.642 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.774, allocations: 366.8 kB / 0.6423 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/1.774, allocations: 188.9 kB / 0.6425 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003633/1.774, allocations: 294.5 kB / 0.6428 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007309/1.775, allocations: 0.5433 MB / 0.6433 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.775, allocations: 0 / 0.6433 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.00115/1.776, allocations: 0.7657 MB / 0.6441 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1.776, allocations: 9.406 kB / 0.6441 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.776, allocations: 0 / 0.6441 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001961/1.778, allocations: 0.7198 MB / 0.6448 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.655e-05/1.778, allocations: 8 kB / 0.6448 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/1.78, allocations: 1.054 MB / 0.6458 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/1.78, allocations: 75.11 kB / 0.6459 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/1.78, allocations: 16 kB / 0.6459 GB, free: 4.945 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (exchangerWaterSteamDTorWorEFF.Sc.b,exchangerWaterSteamDTorWorEFF.Sf.b,exchangerWaterSteamDTorWorEFF.Ef.a,exchangerWaterSteamDTorWorEFF.Ec.a,sinkWaterSteam_FC.C.a,sourceWaterSteam_FC.C.b,sinkWaterSteam_FF.C.a,sourceWaterSteam_FF.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001775/1.78, allocations: 169.7 kB / 0.6461 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-05/1.78, allocations: 57.62 kB / 0.6461 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/1.783, allocations: 2.063 MB / 0.6481 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001326/1.784, allocations: 1.007 MB / 0.6491 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.784, allocations: 0 / 0.6491 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.784, allocations: 3.984 kB / 0.6491 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/1.787, allocations: 2.353 MB / 0.6514 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.787, allocations: 0 / 0.6514 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/1.787, allocations: 95.89 kB / 0.6515 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006681/1.788, allocations: 492 kB / 0.652 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/1.788, allocations: 12 kB / 0.652 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/1.789, allocations: 1.124 MB / 0.6531 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.789, allocations: 0 / 0.6531 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/1.791, allocations: 1.129 MB / 0.6542 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/1.791, allocations: 195.9 kB / 0.6544 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.436e-05/1.791, allocations: 23.94 kB / 0.6544 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/1.791, allocations: 22.12 kB / 0.6544 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/1.791, allocations: 52.58 kB / 0.6545 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/1.791, allocations: 16 kB / 0.6545 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003068/1.792, allocations: 323.1 kB / 0.6548 GB, free: 11.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.792, allocations: 0 / 0.6548 GB, free: 11.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002155/1.794, allocations: 0.9682 MB / 0.6557 GB, free: 10.64 MB / 0.545 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 (64): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {(5,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003111/1.797, allocations: 1.146 MB / 0.6569 GB, free: 9.496 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.799, allocations: 1.036 MB / 0.6579 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.799, allocations: 0 / 0.6579 GB, free: 8.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009705/1.8, allocations: 0.4993 MB / 0.6584 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/1.802, allocations: 407.8 kB / 0.6588 GB, free: 7.551 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/1.803, allocations: 1.44 MB / 0.6602 GB, free: 6.082 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/1.804, allocations: 0.9671 MB / 0.6611 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/1.804, allocations: 43.44 kB / 0.6611 GB, free: 5.043 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/1.804, allocations: 0 / 0.6611 GB, free: 5.043 MB / 0.545 GB Notification: Performance of Templates: time 0.02993/1.834, allocations: 26.76 MB / 0.6873 GB, free: 10.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff.pipe 2>&1)