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.7199/0.7199, allocations: 150.8 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003013/0.0003013, allocations: 17.59 kB / 237.8 MB, free: 1.758 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04578/0.0461, 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.Examples.SimpleExamples.TestStaticWaterWaterExchangerDTorWorEff): time 1.4/1.447, allocations: 295.9 MB / 0.5518 GB, free: 11.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02496/1.472, allocations: 23.74 MB / 0.575 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/1.472, allocations: 7.938 kB / 0.575 GB, free: 3.922 MB / 462.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.0005048/1.472, allocations: 236 kB / 0.5752 GB, free: 3.691 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004261/1.473, allocations: 222.2 kB / 0.5754 GB, free: 3.473 MB / 462.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.488, allocations: 7.614 MB / 0.5828 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008447/1.489, allocations: 0.8138 MB / 0.5836 GB, free: 11.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003096/1.49, allocations: 244.9 kB / 0.5839 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/1.49, allocations: 318.7 kB / 0.5842 GB, free: 10.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/1.49, allocations: 254.7 kB / 0.5844 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/1.49, allocations: 40 kB / 0.5845 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02421/1.515, allocations: 17.16 MB / 0.6012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/1.515, allocations: 95.58 kB / 0.6013 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/1.515, allocations: 298.5 kB / 0.6016 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/1.526, allocations: 7.2 MB / 0.6086 GB, free: 1.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/1.526, allocations: 0 / 0.6086 GB, free: 1.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/1.526, allocations: 0 / 0.6086 GB, free: 1.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/1.526, allocations: 4 kB / 0.6086 GB, free: 1.406 MB / 494.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.003516/1.529, allocations: 1.435 MB / 0.61 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/1.529, allocations: 11.89 kB / 0.61 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/1.529, allocations: 64.17 kB / 0.6101 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/1.53, allocations: 308.6 kB / 0.6104 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/1.53, allocations: 63.27 kB / 0.6104 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/1.53, allocations: 44.06 kB / 0.6105 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/1.531, allocations: 0.6329 MB / 0.6111 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.531, allocations: 0 / 0.6111 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/1.531, allocations: 16 kB / 0.6111 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/1.531, allocations: 35.95 kB / 0.6112 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/1.531, allocations: 442.9 kB / 0.6116 GB, free: 14.24 MB / 0.4981 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.03541/1.567, allocations: 19.52 MB / 0.6306 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/1.567, allocations: 347.8 kB / 0.631 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/1.568, allocations: 278.7 kB / 0.6312 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08371/1.651, allocations: 41.55 MB / 0.6718 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/1.651, allocations: 34.56 kB / 0.6718 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=103): time 5.29e-06/1.651, allocations: 0 / 0.6718 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103): time 0.004224/1.656, allocations: 1.448 MB / 0.6733 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.656, allocations: 55.41 kB / 0.6733 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/1.656, allocations: 345.5 kB / 0.6736 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/1.656, allocations: 29.7 kB / 0.6737 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.656, allocations: 205.4 kB / 0.6739 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/1.657, allocations: 330.8 kB / 0.6742 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.657, allocations: 97.66 kB / 0.6743 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.657, allocations: 366.7 kB / 0.6746 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/1.657, allocations: 200.9 kB / 0.6748 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/1.658, allocations: 290.4 kB / 0.6751 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/1.658, allocations: 0.5433 MB / 0.6756 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.658, allocations: 4 kB / 0.6756 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.001214/1.66, allocations: 0.7693 MB / 0.6764 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.66, allocations: 8 kB / 0.6764 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.66, allocations: 0 / 0.6764 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/1.662, allocations: 0.7226 MB / 0.6771 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/1.662, allocations: 11.94 kB / 0.6771 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/1.663, allocations: 1.046 MB / 0.6781 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/1.663, allocations: 75.03 kB / 0.6782 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.114e-05/1.663, allocations: 19.98 kB / 0.6782 GB, free: 3.789 MB / 0.5606 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.0001853/1.664, allocations: 166.2 kB / 0.6784 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.541e-05/1.664, allocations: 47.34 kB / 0.6784 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/1.666, allocations: 2.067 MB / 0.6804 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001339/1.667, allocations: 1.003 MB / 0.6814 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.667, allocations: 7.984 kB / 0.6814 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/1.667, allocations: 7.984 kB / 0.6814 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002886/1.67, allocations: 2.295 MB / 0.6837 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.67, allocations: 0 / 0.6837 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/1.67, allocations: 87.91 kB / 0.6838 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007055/1.671, allocations: 0.4921 MB / 0.6842 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/1.671, allocations: 16 kB / 0.6843 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/1.673, allocations: 1.112 MB / 0.6853 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.673, allocations: 4 kB / 0.6853 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/1.674, allocations: 1.132 MB / 0.6865 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/1.674, allocations: 195.9 kB / 0.6866 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/1.674, allocations: 23.84 kB / 0.6867 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/1.675, allocations: 16 kB / 0.6867 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/1.675, allocations: 48.58 kB / 0.6867 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/1.675, allocations: 20 kB / 0.6867 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003124/1.675, allocations: 323.1 kB / 0.6871 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.675, allocations: 3.938 kB / 0.6871 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002141/1.677, allocations: 0.9721 MB / 0.688 GB, free: 9.543 MB / 0.5762 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.003766/1.681, allocations: 1.154 MB / 0.6891 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001673/1.683, allocations: 0.9961 MB / 0.6901 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.683, allocations: 0 / 0.6901 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000974/1.684, allocations: 0.4914 MB / 0.6906 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/1.685, allocations: 394.2 kB / 0.691 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/1.687, allocations: 1.444 MB / 0.6924 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004562/1.688, allocations: 0.9748 MB / 0.6933 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/1.688, allocations: 47.44 kB / 0.6934 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/1.688, allocations: 0 / 0.6934 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of Templates: time 0.1744/1.862, allocations: 26.7 MB / 0.7194 GB, free: 213.5 MB / 0.5919 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)