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.7693/0.7693, allocations: 150.9 MB / 167.2 MB, free: 14.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003101, allocations: 18.22 kB / 237.8 MB, free: 1.676 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04635/0.04667, allocations: 31.35 MB / 269.1 MB, free: 7.039 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.477/1.524, allocations: 296.3 MB / 0.5522 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02527/1.549, allocations: 22.97 MB / 0.5746 GB, free: 4.398 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/1.549, allocations: 4 kB / 0.5746 GB, free: 4.395 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.0005201/1.55, allocations: 163.7 kB / 0.5747 GB, free: 4.234 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000635/1.551, allocations: 265.8 kB / 0.575 GB, free: 3.973 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.01594/1.567, allocations: 7.241 MB / 0.5821 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/1.568, allocations: 0.9763 MB / 0.583 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/1.568, allocations: 284.8 kB / 0.5833 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/1.569, allocations: 386.6 kB / 0.5837 GB, free: 11.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/1.569, allocations: 330.5 kB / 0.584 GB, free: 10.76 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/1.569, allocations: 48 kB / 0.584 GB, free: 10.71 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02323/1.592, allocations: 15.38 MB / 0.599 GB, free: 11.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/1.593, allocations: 127.5 kB / 0.5992 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/1.593, allocations: 370.1 kB / 0.5995 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01127/1.604, allocations: 6.911 MB / 0.6063 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.604, allocations: 0 / 0.6063 GB, free: 3.902 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/1.604, allocations: 7.938 kB / 0.6063 GB, free: 3.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.955e-05/1.604, allocations: 3.984 kB / 0.6063 GB, free: 3.891 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.00397/1.608, allocations: 1.544 MB / 0.6078 GB, free: 2.293 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/1.608, allocations: 8.031 kB / 0.6078 GB, free: 2.285 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/1.608, allocations: 76 kB / 0.6079 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/1.609, allocations: 342.7 kB / 0.6082 GB, free: 1.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001742/1.609, allocations: 126.1 kB / 0.6083 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/1.609, allocations: 48 kB / 0.6084 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/1.61, allocations: 0.7757 MB / 0.6091 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.61, allocations: 7.938 kB / 0.6091 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/1.61, allocations: 24 kB / 0.6091 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/1.61, allocations: 39.95 kB / 0.6092 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/1.611, allocations: 0.5631 MB / 0.6097 GB, free: 196 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.07012/1.682, allocations: 36.65 MB / 0.6455 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.683, allocations: 0.5424 MB / 0.6461 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005756/1.683, allocations: 350.7 kB / 0.6464 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07006/1.753, allocations: 33.81 MB / 0.6794 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/1.754, allocations: 38.55 kB / 0.6794 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 1.994e-06/1.754, allocations: 0 / 0.6794 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.01635/1.77, allocations: 3.304 MB / 0.6827 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.77, allocations: 55.41 kB / 0.6827 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/1.77, allocations: 336.4 kB / 0.683 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/1.77, allocations: 29.7 kB / 0.6831 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.77, allocations: 225.3 kB / 0.6833 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/1.771, allocations: 409.7 kB / 0.6837 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001668/1.771, allocations: 138.1 kB / 0.6838 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.771, allocations: 366.8 kB / 0.6842 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005409/1.772, allocations: 277.6 kB / 0.6844 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005905/1.772, allocations: 389.2 kB / 0.6848 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/1.773, allocations: 0.7186 MB / 0.6855 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/1.773, allocations: 4 kB / 0.6855 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003962/1.777, allocations: 1.275 MB / 0.6867 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.777, allocations: 7.938 kB / 0.6868 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/1.777, allocations: 4 kB / 0.6868 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003479/1.781, allocations: 1.387 MB / 0.6881 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/1.781, allocations: 19.98 kB / 0.6881 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/1.783, allocations: 1.401 MB / 0.6895 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/1.783, allocations: 94.86 kB / 0.6896 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/1.784, allocations: 23.98 kB / 0.6896 GB, free: 7.156 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.0002105/1.784, allocations: 175.4 kB / 0.6898 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/1.784, allocations: 51.25 kB / 0.6898 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/1.788, allocations: 3.947 MB / 0.6937 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002602/1.79, allocations: 1.298 MB / 0.695 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.79, allocations: 0 / 0.695 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.79, allocations: 11.92 kB / 0.695 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/1.796, allocations: 2.875 MB / 0.6978 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.796, allocations: 0 / 0.6978 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/1.797, allocations: 99.95 kB / 0.6979 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/1.799, allocations: 0.8556 MB / 0.6987 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/1.799, allocations: 20 kB / 0.6987 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/1.801, allocations: 1.487 MB / 0.7002 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/1.801, allocations: 0 / 0.7002 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004375/1.805, allocations: 1.511 MB / 0.7016 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/1.805, allocations: 159.9 kB / 0.7018 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/1.805, allocations: 39.67 kB / 0.7018 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/1.806, allocations: 27.92 kB / 0.7019 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/1.806, allocations: 52.92 kB / 0.7019 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/1.806, allocations: 27.98 kB / 0.7019 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003797/1.806, allocations: 387.1 kB / 0.7023 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.806, allocations: 0 / 0.7023 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002285/1.809, allocations: 1.042 MB / 0.7033 GB, free: 8.816 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.003903/1.813, allocations: 1.2 MB / 0.7045 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001909/1.814, allocations: 1.159 MB / 0.7056 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.814, allocations: 4.125 kB / 0.7056 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.816, allocations: 0.5232 MB / 0.7061 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/1.817, allocations: 433.2 kB / 0.7066 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/1.82, allocations: 1.6 MB / 0.7081 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/1.82, allocations: 0.9909 MB / 0.7091 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/1.82, allocations: 47.44 kB / 0.7091 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/1.82, allocations: 0 / 0.7091 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of Templates: time 0.1819/2.002, allocations: 28.53 MB / 0.737 GB, free: 206.1 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)