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.8282/0.8282, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 15.97 kB / 204 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1546, allocations: 31.32 MB / 235.4 MB, free: 5.441 MB / 190.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.582/1.737, allocations: 294.7 MB / 0.5176 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4475/2.185, allocations: 189.6 MB / 0.7028 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004679/2.185, allocations: 15.66 kB / 0.7029 GB, free: 3.871 MB / 0.5762 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.0004626/2.186, allocations: 131.7 kB / 0.703 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005807/2.186, allocations: 292.3 kB / 0.7033 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02347/2.21, allocations: 8.924 MB / 0.712 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001347/2.211, allocations: 1.075 MB / 0.713 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004422/2.211, allocations: 433.1 kB / 0.7134 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/2.212, allocations: 420.8 kB / 0.7138 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/2.212, allocations: 434.5 kB / 0.7143 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.508e-05/2.212, allocations: 55.44 kB / 0.7143 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03057/2.243, allocations: 19.41 MB / 0.7333 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003193/2.243, allocations: 165.9 kB / 0.7334 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00072/2.244, allocations: 463.9 kB / 0.7339 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02316/2.267, allocations: 10.31 MB / 0.7439 GB, free: 380 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/2.267, allocations: 0 / 0.7439 GB, free: 380 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/2.267, allocations: 2.75 kB / 0.7439 GB, free: 380 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.169e-05/2.267, allocations: 1.094 kB / 0.7439 GB, free: 380 kB / 0.5762 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.006253/2.274, allocations: 2.253 MB / 0.7461 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/2.274, allocations: 8.156 kB / 0.7461 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001518/2.274, allocations: 101.4 kB / 0.7462 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/2.274, allocations: 472.6 kB / 0.7467 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/2.274, allocations: 144.6 kB / 0.7468 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/2.275, allocations: 77.28 kB / 0.7469 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/2.276, allocations: 0.9137 MB / 0.7478 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/2.276, allocations: 5.125 kB / 0.7478 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/2.276, allocations: 32.56 kB / 0.7478 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/2.276, allocations: 36.73 kB / 0.7479 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/2.277, allocations: 0.673 MB / 0.7485 GB, free: 14.12 MB / 0.5919 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.01616/2.293, allocations: 12.81 MB / 0.761 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/2.294, allocations: 456.9 kB / 0.7615 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/2.295, allocations: 259.4 kB / 0.7617 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08481/2.38, allocations: 52.21 MB / 0.8127 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/2.38, allocations: 44.78 kB / 0.8128 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 2.164e-06/2.38, allocations: 0 / 0.8128 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01672/2.397, allocations: 3.025 MB / 0.8157 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/2.397, allocations: 61.94 kB / 0.8158 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/2.397, allocations: 495.8 kB / 0.8162 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.889e-05/2.397, allocations: 32.95 kB / 0.8163 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/2.398, allocations: 392.6 kB / 0.8166 GB, free: 9.688 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/2.398, allocations: 292 kB / 0.8169 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/2.398, allocations: 151 kB / 0.8171 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001512/2.398, allocations: 374.5 kB / 0.8174 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000516/2.399, allocations: 241.4 kB / 0.8177 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/2.399, allocations: 420.5 kB / 0.8181 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/2.4, allocations: 0.7016 MB / 0.8187 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/2.4, allocations: 0 / 0.8187 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002702/2.403, allocations: 1.092 MB / 0.8198 GB, free: 7.203 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/2.403, allocations: 8 kB / 0.8198 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/2.403, allocations: 8 kB / 0.8198 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/2.406, allocations: 0.9541 MB / 0.8208 GB, free: 6.344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/2.407, allocations: 69.22 kB / 0.8208 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/2.409, allocations: 1.398 MB / 0.8222 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005899/2.409, allocations: 95.2 kB / 0.8223 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/2.409, allocations: 30.98 kB / 0.8223 GB, free: 5.098 MB / 0.6544 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.0003064/2.41, allocations: 206.7 kB / 0.8225 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/2.41, allocations: 75.06 kB / 0.8226 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/2.412, allocations: 1.755 MB / 0.8243 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002004/2.414, allocations: 1.203 MB / 0.8255 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/2.414, allocations: 4 kB / 0.8255 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/2.414, allocations: 3.984 kB / 0.8255 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007049/2.421, allocations: 3.038 MB / 0.8284 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.421, allocations: 0 / 0.8284 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002614/2.422, allocations: 97.56 kB / 0.8285 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002951/2.425, allocations: 1.004 MB / 0.8295 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/2.425, allocations: 16.7 kB / 0.8295 GB, free: 15.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/2.427, allocations: 1.492 MB / 0.831 GB, free: 14.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.427, allocations: 8 kB / 0.831 GB, free: 14.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004941/2.432, allocations: 1.603 MB / 0.8326 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003222/2.432, allocations: 231.6 kB / 0.8328 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.565e-05/2.432, allocations: 23.84 kB / 0.8328 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/2.433, allocations: 31.98 kB / 0.8328 GB, free: 12.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/2.433, allocations: 56.91 kB / 0.8329 GB, free: 12.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/2.433, allocations: 23.98 kB / 0.8329 GB, free: 12.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004185/2.433, allocations: 354.9 kB / 0.8332 GB, free: 11.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.132e-06/2.433, allocations: 0 / 0.8332 GB, free: 11.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004404/2.438, allocations: 1.59 MB / 0.8348 GB, free: 10.39 MB / 0.67 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.006379/2.444, allocations: 2.317 MB / 0.8371 GB, free: 8.379 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002085/2.446, allocations: 1.1 MB / 0.8381 GB, free: 7.254 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/2.446, allocations: 0 / 0.8381 GB, free: 7.254 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009887/2.447, allocations: 0.515 MB / 0.8386 GB, free: 6.758 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/2.449, allocations: 396.8 kB / 0.839 GB, free: 6.371 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/2.452, allocations: 2.195 MB / 0.8412 GB, free: 4.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/2.452, allocations: 1.05 MB / 0.8422 GB, free: 3.082 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003427/2.453, allocations: 93.5 kB / 0.8423 GB, free: 2.988 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/2.453, allocations: 55.44 kB / 0.8423 GB, free: 2.934 MB / 0.67 GB Notification: Performance of SimCode: time 2e-07/2.453, allocations: 1.203 kB / 0.8423 GB, free: 2.934 MB / 0.67 GB Notification: Performance of Templates: time 0.0756/2.528, allocations: 60.85 MB / 0.9018 GB, free: 6.34 MB / 0.7325 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)