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.7749/0.7749, allocations: 150.9 MB / 167.2 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 17.78 kB / 237.8 MB, free: 1.762 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04921/0.04956, allocations: 31.35 MB / 269.1 MB, free: 7.062 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.489/1.538, allocations: 296.8 MB / 0.5526 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4531/1.991, allocations: 188.7 MB / 0.7369 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/1.992, allocations: 17.22 kB / 0.737 GB, free: 15.79 MB / 0.6075 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.0004284/1.992, allocations: 180.1 kB / 0.7371 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004912/1.993, allocations: 328.1 kB / 0.7375 GB, free: 15.78 MB / 0.6075 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/2.017, allocations: 11.61 MB / 0.7488 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001227/2.018, allocations: 1.124 MB / 0.7499 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/2.019, allocations: 475.5 kB / 0.7503 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/2.019, allocations: 466.8 kB / 0.7508 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003785/2.019, allocations: 444.4 kB / 0.7512 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/2.019, allocations: 79.22 kB / 0.7513 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03036/2.05, allocations: 19.43 MB / 0.7703 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003142/2.05, allocations: 185.3 kB / 0.7704 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006685/2.051, allocations: 496.1 kB / 0.7709 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02082/2.072, allocations: 10.24 MB / 0.7809 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/2.072, allocations: 0 / 0.7809 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/2.072, allocations: 2.875 kB / 0.7809 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.842e-05/2.072, allocations: 0 / 0.7809 GB, free: 9.016 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.005751/2.078, allocations: 2.238 MB / 0.7831 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/2.078, allocations: 14.27 kB / 0.7831 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001908/2.078, allocations: 101.2 kB / 0.7832 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/2.078, allocations: 492.5 kB / 0.7837 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/2.079, allocations: 155.2 kB / 0.7838 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/2.079, allocations: 71.84 kB / 0.7839 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/2.08, allocations: 0.9234 MB / 0.7848 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/2.08, allocations: 6.125 kB / 0.7848 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.49e-05/2.08, allocations: 35.47 kB / 0.7848 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/2.08, allocations: 30.33 kB / 0.7849 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/2.081, allocations: 0.6703 MB / 0.7855 GB, free: 6.742 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.01606/2.097, allocations: 12.8 MB / 0.798 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/2.098, allocations: 454.1 kB / 0.7985 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004775/2.099, allocations: 260.7 kB / 0.7987 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08677/2.186, allocations: 52.45 MB / 0.8499 GB, free: 3.027 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/2.186, allocations: 34.69 kB / 0.85 GB, free: 2.988 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 2.445e-06/2.186, allocations: 4 kB / 0.85 GB, free: 2.984 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.01518/2.201, allocations: 3.017 MB / 0.8529 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/2.201, allocations: 55.69 kB / 0.853 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006203/2.202, allocations: 0.4946 MB / 0.8534 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/2.202, allocations: 29.7 kB / 0.8535 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/2.202, allocations: 390.2 kB / 0.8538 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002169/2.202, allocations: 294.3 kB / 0.8541 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/2.202, allocations: 150 kB / 0.8543 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001507/2.203, allocations: 378.7 kB / 0.8546 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/2.203, allocations: 226.8 kB / 0.8549 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/2.204, allocations: 427.8 kB / 0.8553 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/2.205, allocations: 0.7109 MB / 0.856 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.205, allocations: 4 kB / 0.856 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002562/2.208, allocations: 1.088 MB / 0.857 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/2.208, allocations: 11.98 kB / 0.857 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/2.208, allocations: 5.203 kB / 0.857 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002874/2.21, allocations: 0.9487 MB / 0.858 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/2.211, allocations: 69.12 kB / 0.858 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/2.213, allocations: 1.391 MB / 0.8594 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/2.213, allocations: 106.8 kB / 0.8595 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/2.213, allocations: 28 kB / 0.8595 GB, free: 9.039 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.0002886/2.214, allocations: 208.1 kB / 0.8597 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/2.214, allocations: 67.09 kB / 0.8598 GB, free: 8.766 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/2.216, allocations: 1.758 MB / 0.8615 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001925/2.218, allocations: 1.196 MB / 0.8627 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/2.218, allocations: 9.078 kB / 0.8627 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/2.218, allocations: 3.984 kB / 0.8627 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006717/2.225, allocations: 3.004 MB / 0.8656 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/2.225, allocations: 0 / 0.8656 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/2.225, allocations: 103.6 kB / 0.8657 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/2.227, allocations: 0.7638 MB / 0.8665 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.484e-05/2.228, allocations: 19.98 kB / 0.8665 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/2.23, allocations: 1.488 MB / 0.8679 GB, free: 396 kB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/2.23, allocations: 7.156 kB / 0.8679 GB, free: 392 kB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004784/2.234, allocations: 1.599 MB / 0.8695 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003556/2.235, allocations: 239.5 kB / 0.8697 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/2.235, allocations: 17.09 kB / 0.8697 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/2.235, allocations: 23.98 kB / 0.8698 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/2.235, allocations: 56.92 kB / 0.8698 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.914e-05/2.235, allocations: 23.98 kB / 0.8698 GB, free: 14.4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004149/2.236, allocations: 358.8 kB / 0.8702 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.4e-07/2.236, allocations: 0 / 0.8702 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003981/2.24, allocations: 1.581 MB / 0.8717 GB, free: 12.47 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.006531/2.246, allocations: 2.231 MB / 0.8739 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002032/2.248, allocations: 1.108 MB / 0.875 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/2.248, allocations: 0 / 0.875 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/2.249, allocations: 0.5227 MB / 0.8755 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001779/2.251, allocations: 402.3 kB / 0.8759 GB, free: 8.527 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/2.254, allocations: 1.805 MB / 0.8776 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/2.255, allocations: 1.05 MB / 0.8787 GB, free: 5.621 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/2.255, allocations: 63.44 kB / 0.8787 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of SimCode: time 2.21e-07/2.255, allocations: 0 / 0.8787 GB, free: 5.559 MB / 0.7012 GB Notification: Performance of Templates: time 0.04831/2.303, allocations: 38.59 MB / 0.9164 GB, free: 14.97 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)