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.8412/0.8412, allocations: 150.9 MB / 166.5 MB, free: 14.32 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003103, allocations: 16.53 kB / 237.1 MB, free: 1.793 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05335/0.05367, allocations: 31.35 MB / 268.5 MB, free: 7.02 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.607/1.661, allocations: 296.4 MB / 0.5516 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02794/1.689, allocations: 22.96 MB / 0.574 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/1.69, allocations: 4 kB / 0.574 GB, free: 4.57 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.0004972/1.69, allocations: 179.6 kB / 0.5742 GB, free: 4.395 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006327/1.691, allocations: 261.9 kB / 0.5744 GB, free: 4.137 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.01762/1.708, allocations: 7.23 MB / 0.5815 GB, free: 12.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/1.71, allocations: 0.9763 MB / 0.5825 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/1.71, allocations: 288.8 kB / 0.5827 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005004/1.71, allocations: 382.6 kB / 0.5831 GB, free: 11.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/1.711, allocations: 330.5 kB / 0.5834 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.874e-05/1.711, allocations: 52 kB / 0.5835 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02577/1.737, allocations: 15.37 MB / 0.5985 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/1.737, allocations: 131.5 kB / 0.5986 GB, free: 11.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/1.737, allocations: 362.2 kB / 0.5989 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/1.75, allocations: 6.937 MB / 0.6057 GB, free: 4.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.75, allocations: 4 kB / 0.6057 GB, free: 4.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.135e-05/1.75, allocations: 0 / 0.6057 GB, free: 4.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.934e-05/1.75, allocations: 3.938 kB / 0.6057 GB, free: 4.055 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.004163/1.754, allocations: 1.582 MB / 0.6073 GB, free: 2.414 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.754, allocations: 12.03 kB / 0.6073 GB, free: 2.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/1.754, allocations: 72.47 kB / 0.6074 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/1.755, allocations: 350.8 kB / 0.6077 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/1.755, allocations: 126.1 kB / 0.6078 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/1.755, allocations: 44 kB / 0.6078 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.756, allocations: 0.7874 MB / 0.6086 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.756, allocations: 0 / 0.6086 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/1.756, allocations: 20 kB / 0.6086 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/1.756, allocations: 35.97 kB / 0.6087 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.758, allocations: 0.5747 MB / 0.6092 GB, free: 308 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.07477/1.832, allocations: 36.66 MB / 0.645 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/1.834, allocations: 0.5364 MB / 0.6456 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006102/1.834, allocations: 358.7 kB / 0.6459 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07499/1.909, allocations: 33.82 MB / 0.6789 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.909, allocations: 38.56 kB / 0.679 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=126): time 2.205e-06/1.909, allocations: 0 / 0.679 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=126): time 0.01758/1.927, allocations: 3.301 MB / 0.6822 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/1.927, allocations: 55.41 kB / 0.6822 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/1.928, allocations: 332.5 kB / 0.6826 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/1.928, allocations: 33.7 kB / 0.6826 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/1.928, allocations: 229.7 kB / 0.6828 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/1.928, allocations: 436.1 kB / 0.6832 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001985/1.928, allocations: 130 kB / 0.6833 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.929, allocations: 374.7 kB / 0.6837 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000606/1.929, allocations: 285.6 kB / 0.684 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/1.93, allocations: 389.1 kB / 0.6843 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.931, allocations: 0.7186 MB / 0.685 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.931, allocations: 4 kB / 0.6851 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004328/1.936, allocations: 1.275 MB / 0.6863 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.936, allocations: 8 kB / 0.6863 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.936, allocations: 3.938 kB / 0.6863 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003851/1.939, allocations: 1.387 MB / 0.6877 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/1.94, allocations: 27.92 kB / 0.6877 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/1.942, allocations: 1.39 MB / 0.689 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/1.942, allocations: 91.3 kB / 0.6891 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/1.942, allocations: 19.98 kB / 0.6892 GB, free: 7.227 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.0002355/1.943, allocations: 179.4 kB / 0.6893 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/1.943, allocations: 59.58 kB / 0.6894 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00436/1.947, allocations: 3.955 MB / 0.6932 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002849/1.95, allocations: 1.294 MB / 0.6945 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.95, allocations: 0 / 0.6945 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.95, allocations: 3.984 kB / 0.6945 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006726/1.957, allocations: 2.891 MB / 0.6973 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.957, allocations: 0 / 0.6973 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/1.957, allocations: 91.91 kB / 0.6974 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002321/1.959, allocations: 0.8518 MB / 0.6983 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/1.959, allocations: 27.92 kB / 0.6983 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/1.962, allocations: 1.487 MB / 0.6997 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.962, allocations: 7.984 kB / 0.6997 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/1.966, allocations: 1.504 MB / 0.7012 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/1.967, allocations: 160.6 kB / 0.7014 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.967, allocations: 27.89 kB / 0.7014 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000415/1.967, allocations: 35.92 kB / 0.7014 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.967, allocations: 56.91 kB / 0.7015 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/1.967, allocations: 23.94 kB / 0.7015 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004529/1.968, allocations: 387.1 kB / 0.7019 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.968, allocations: 3.938 kB / 0.7019 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002465/1.97, allocations: 1.06 MB / 0.7029 GB, free: 8.848 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.004278/1.975, allocations: 1.208 MB / 0.7041 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002278/1.977, allocations: 1.159 MB / 0.7052 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.977, allocations: 0 / 0.7052 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.978, allocations: 0.5194 MB / 0.7057 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00209/1.98, allocations: 433.1 kB / 0.7061 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/1.983, allocations: 1.591 MB / 0.7077 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/1.983, allocations: 0.9948 MB / 0.7087 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002524/1.984, allocations: 68.81 kB / 0.7087 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/1.984, allocations: 39.44 kB / 0.7088 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of SimCode: time 3.9e-07/1.984, allocations: 0 / 0.7088 GB, free: 2.754 MB / 0.5919 GB Notification: Performance of Templates: time 0.2182/2.202, allocations: 49.55 MB / 0.7572 GB, free: 191.9 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)