Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7229/0.7229, allocations: 150.9 MB / 167.1 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 17.38 kB / 237.7 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04537/0.04569, allocations: 31.36 MB / 269.1 MB, free: 7.051 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.TestStaticWaterWaterExchanger): time 1.399/1.444, allocations: 296.1 MB / 0.5519 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02467/1.469, allocations: 22.96 MB / 0.5744 GB, free: 4.441 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/1.469, allocations: 4 kB / 0.5744 GB, free: 4.438 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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/StaticWaterWaterExchanger.mo:84:3-86:38: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/StaticWaterWaterExchanger.mo:87:3-89: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/StaticWaterWaterExchanger.mo:90:3-92: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.000424/1.47, allocations: 180.1 kB / 0.5745 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004769/1.47, allocations: 253.9 kB / 0.5748 GB, free: 4.016 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.01423/1.485, allocations: 7.244 MB / 0.5819 GB, free: 12.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008954/1.486, allocations: 0.9802 MB / 0.5828 GB, free: 11.78 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/1.486, allocations: 280.8 kB / 0.5831 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/1.486, allocations: 382.6 kB / 0.5834 GB, free: 11.13 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002988/1.487, allocations: 326.5 kB / 0.5838 GB, free: 10.81 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/1.487, allocations: 48 kB / 0.5838 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01993/1.507, allocations: 15.38 MB / 0.5988 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/1.507, allocations: 123.5 kB / 0.5989 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003683/1.507, allocations: 370.2 kB / 0.5993 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009616/1.517, allocations: 6.931 MB / 0.6061 GB, free: 3.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.517, allocations: 0 / 0.6061 GB, free: 3.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/1.517, allocations: 0 / 0.6061 GB, free: 3.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.327e-06/1.517, allocations: 0 / 0.6061 GB, free: 3.934 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003102/1.52, allocations: 1.54 MB / 0.6076 GB, free: 2.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/1.52, allocations: 8.031 kB / 0.6076 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.52, allocations: 72 kB / 0.6076 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/1.52, allocations: 338.8 kB / 0.608 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/1.52, allocations: 126.1 kB / 0.6081 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/1.521, allocations: 48 kB / 0.6081 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.522, allocations: 0.7913 MB / 0.6089 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.522, allocations: 0 / 0.6089 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/1.522, allocations: 20 kB / 0.6089 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/1.522, allocations: 39.97 kB / 0.609 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009871/1.523, allocations: 0.5747 MB / 0.6095 GB, free: 236 kB / 494.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.06938/1.592, allocations: 36.66 MB / 0.6453 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/1.593, allocations: 0.5347 MB / 0.6458 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/1.594, allocations: 358.8 kB / 0.6462 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07003/1.664, allocations: 33.81 MB / 0.6792 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/1.664, allocations: 34.5 kB / 0.6792 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 2.715e-06/1.664, allocations: 0 / 0.6792 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.01605/1.68, allocations: 3.3 MB / 0.6825 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.68, allocations: 59.34 kB / 0.6825 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003167/1.68, allocations: 332.5 kB / 0.6828 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/1.68, allocations: 33.7 kB / 0.6829 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/1.681, allocations: 229.3 kB / 0.6831 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/1.681, allocations: 405.6 kB / 0.6835 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.681, allocations: 134.1 kB / 0.6836 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.681, allocations: 370.8 kB / 0.6839 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/1.682, allocations: 273.6 kB / 0.6842 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/1.682, allocations: 397.1 kB / 0.6846 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.683, allocations: 0.7186 MB / 0.6853 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/1.683, allocations: 0 / 0.6853 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00385/1.687, allocations: 1.287 MB / 0.6865 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.687, allocations: 6.031 kB / 0.6865 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/1.687, allocations: 4 kB / 0.6866 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003357/1.691, allocations: 1.383 MB / 0.6879 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/1.691, allocations: 27.92 kB / 0.6879 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.693, allocations: 1.386 MB / 0.6893 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/1.693, allocations: 86.92 kB / 0.6894 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/1.693, allocations: 23.98 kB / 0.6894 GB, free: 7.207 MB / 0.5762 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 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001947/1.693, allocations: 179.4 kB / 0.6896 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.189e-05/1.694, allocations: 51.25 kB / 0.6896 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/1.697, allocations: 3.95 MB / 0.6935 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002487/1.7, allocations: 1.298 MB / 0.6947 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.7, allocations: 0 / 0.6947 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/1.7, allocations: 11.92 kB / 0.6947 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005892/1.706, allocations: 2.882 MB / 0.6976 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/1.706, allocations: 0 / 0.6976 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/1.706, allocations: 99.83 kB / 0.6977 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/1.708, allocations: 0.8518 MB / 0.6985 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/1.708, allocations: 16 kB / 0.6985 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.71, allocations: 1.491 MB / 0.7 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.71, allocations: 0 / 0.7 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/1.714, allocations: 1.503 MB / 0.7014 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/1.714, allocations: 163.9 kB / 0.7016 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.86e-05/1.714, allocations: 31.75 kB / 0.7016 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/1.715, allocations: 27.92 kB / 0.7016 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/1.715, allocations: 49.17 kB / 0.7017 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/1.715, allocations: 27.98 kB / 0.7017 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003824/1.715, allocations: 387.1 kB / 0.7021 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.715, allocations: 0 / 0.7021 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00235/1.718, allocations: 1.054 MB / 0.7031 GB, free: 8.859 MB / 0.5919 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002973/1.721, allocations: 1.197 MB / 0.7043 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001861/1.723, allocations: 1.162 MB / 0.7054 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.723, allocations: 0 / 0.7054 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009908/1.724, allocations: 0.5194 MB / 0.7059 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/1.725, allocations: 425.3 kB / 0.7063 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/1.728, allocations: 1.61 MB / 0.7079 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/1.728, allocations: 0.9909 MB / 0.7089 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.301e-05/1.728, allocations: 47.44 kB / 0.7089 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/1.728, allocations: 0 / 0.7089 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of Templates: time 0.1779/1.906, allocations: 28.49 MB / 0.7367 GB, free: 206 MB / 0.5919 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)