Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7512/0.7512, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003058, allocations: 18.61 kB / 237.8 MB, free: 1.809 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04735/0.04766, allocations: 31.35 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.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger): time 1.433/1.48, allocations: 296.8 MB / 0.5526 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.433/1.913, allocations: 188.7 MB / 0.7369 GB, free: 68 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003694/1.914, allocations: 15.03 kB / 0.737 GB, free: 68 kB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:91:3-92:54:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:93:3-94:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:95:3-96:52:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:97:3-98:51:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004125/1.914, allocations: 180.1 kB / 0.7371 GB, free: 64 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004936/1.915, allocations: 328.5 kB / 0.7374 GB, free: 60 kB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp 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/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der 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/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der 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.02432/1.939, allocations: 11.61 MB / 0.7488 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00119/1.94, allocations: 1.134 MB / 0.7499 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/1.941, allocations: 469.8 kB / 0.7503 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/1.941, allocations: 463.8 kB / 0.7508 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/1.942, allocations: 445.6 kB / 0.7512 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.006e-05/1.942, allocations: 77.28 kB / 0.7513 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02879/1.97, allocations: 19.42 MB / 0.7703 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/1.971, allocations: 197.4 kB / 0.7704 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006356/1.971, allocations: 490.3 kB / 0.7709 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01918/1.991, allocations: 10.24 MB / 0.7809 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.991, allocations: 3.453 kB / 0.7809 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/1.991, allocations: 3.188 kB / 0.7809 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.991, allocations: 0 / 0.7809 GB, free: 9.234 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.004791/1.995, allocations: 2.244 MB / 0.7831 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/1.995, allocations: 10.09 kB / 0.7831 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/1.996, allocations: 101.2 kB / 0.7832 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005386/1.996, allocations: 0.4891 MB / 0.7837 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.996, allocations: 144.8 kB / 0.7838 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/1.996, allocations: 81.55 kB / 0.7839 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.998, allocations: 0.9184 MB / 0.7848 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/1.998, allocations: 2.625 kB / 0.7848 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/1.998, allocations: 33.27 kB / 0.7848 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/1.998, allocations: 36.03 kB / 0.7849 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.999, allocations: 0.661 MB / 0.7855 GB, free: 6.965 MB / 0.6075 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.01483/2.014, allocations: 12.81 MB / 0.798 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/2.015, allocations: 452.2 kB / 0.7985 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/2.015, allocations: 265.2 kB / 0.7987 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08205/2.097, allocations: 52.44 MB / 0.8499 GB, free: 3.137 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/2.097, allocations: 38.56 kB / 0.85 GB, free: 3.09 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 2.465e-06/2.097, allocations: 0 / 0.85 GB, free: 3.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.01417/2.111, allocations: 3.019 MB / 0.8529 GB, free: 52 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/2.112, allocations: 59.31 kB / 0.853 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/2.112, allocations: 0.4986 MB / 0.8535 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/2.112, allocations: 29.7 kB / 0.8535 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/2.112, allocations: 382.2 kB / 0.8538 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/2.113, allocations: 291.9 kB / 0.8541 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/2.113, allocations: 150 kB / 0.8543 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001416/2.113, allocations: 386.3 kB / 0.8546 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/2.113, allocations: 225.5 kB / 0.8548 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/2.114, allocations: 429.1 kB / 0.8553 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/2.115, allocations: 0.7068 MB / 0.8559 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/2.115, allocations: 0 / 0.8559 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002449/2.118, allocations: 1.09 MB / 0.857 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/2.118, allocations: 11.98 kB / 0.857 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.118, allocations: 4 kB / 0.857 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/2.12, allocations: 0.9516 MB / 0.858 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/2.121, allocations: 65.03 kB / 0.858 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/2.123, allocations: 1.4 MB / 0.8594 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/2.123, allocations: 102.8 kB / 0.8595 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/2.123, allocations: 31.84 kB / 0.8595 GB, free: 9.133 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.000272/2.124, allocations: 204 kB / 0.8597 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/2.124, allocations: 71.09 kB / 0.8598 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/2.126, allocations: 1.758 MB / 0.8615 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001869/2.128, allocations: 1.203 MB / 0.8627 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.128, allocations: 0 / 0.8627 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/2.128, allocations: 7.984 kB / 0.8627 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/2.134, allocations: 2.999 MB / 0.8656 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/2.134, allocations: 4 kB / 0.8656 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002442/2.135, allocations: 104.8 kB / 0.8657 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/2.137, allocations: 0.7522 MB / 0.8664 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/2.137, allocations: 19.98 kB / 0.8665 GB, free: 2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/2.139, allocations: 1.49 MB / 0.8679 GB, free: 496 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/2.139, allocations: 8 kB / 0.8679 GB, free: 488 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004417/2.143, allocations: 1.601 MB / 0.8695 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002821/2.143, allocations: 235.5 kB / 0.8697 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/2.143, allocations: 12 kB / 0.8697 GB, free: 14.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003441/2.144, allocations: 27.98 kB / 0.8698 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.37e-05/2.144, allocations: 56.92 kB / 0.8698 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/2.144, allocations: 29.86 kB / 0.8698 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003675/2.144, allocations: 356 kB / 0.8702 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.2e-07/2.144, allocations: 0 / 0.8702 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004355/2.149, allocations: 1.584 MB / 0.8717 GB, free: 12.56 MB / 0.7012 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 {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005412/2.154, allocations: 2.226 MB / 0.8739 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001998/2.156, allocations: 1.115 MB / 0.875 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/2.156, allocations: 0 / 0.875 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009515/2.157, allocations: 0.5125 MB / 0.8755 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/2.159, allocations: 403.6 kB / 0.8759 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/2.161, allocations: 1.816 MB / 0.8776 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005393/2.162, allocations: 1.054 MB / 0.8787 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/2.162, allocations: 59.44 kB / 0.8787 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of SimCode: time 9.21e-07/2.162, allocations: 0 / 0.8787 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of Templates: time 0.04927/2.211, allocations: 38.74 MB / 0.9166 GB, free: 14.91 MB / 0.7481 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe 2>&1)