Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8/0.8, allocations: 150.9 MB / 166 MB, free: 14.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002718/0.0002718, allocations: 11.98 kB / 204 MB, free: 10.14 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1398, allocations: 31.33 MB / 235.4 MB, free: 5.68 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.TestSimpleStaticCondenser): time 1.605/1.745, allocations: 294.7 MB / 0.5176 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5078/2.253, allocations: 191.1 MB / 0.7042 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/2.254, allocations: 12.28 kB / 0.7042 GB, free: 3.785 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55: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/SimpleStaticCondenser.mo:67:3-68: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/SimpleStaticCondenser.mo:69:3-70:51: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/SimpleStaticCondenser.mo:71:3-72:53: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.0005478/2.254, allocations: 165.4 kB / 0.7044 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006017/2.255, allocations: 294.1 kB / 0.7047 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0243/2.279, allocations: 9.013 MB / 0.7135 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001227/2.28, allocations: 0.9775 MB / 0.7144 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/2.281, allocations: 405 kB / 0.7148 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/2.281, allocations: 378.5 kB / 0.7152 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/2.281, allocations: 381 kB / 0.7155 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.238e-05/2.281, allocations: 48.75 kB / 0.7156 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03595/2.317, allocations: 20.11 MB / 0.7352 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004586/2.318, allocations: 151.2 kB / 0.7354 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009592/2.319, allocations: 430.8 kB / 0.7358 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02647/2.345, allocations: 10.43 MB / 0.746 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/2.345, allocations: 192 / 0.746 GB, free: 0 / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/2.345, allocations: 64 / 0.746 GB, free: 0 / 0.5762 GB Notification: Performance of Transformations before backend: time 1.023e-05/2.345, allocations: 3.469 kB / 0.746 GB, free: 0 / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.005439/2.351, allocations: 2.195 MB / 0.7481 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/2.351, allocations: 10.34 kB / 0.7481 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/2.351, allocations: 95.12 kB / 0.7482 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/2.352, allocations: 447.8 kB / 0.7486 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/2.352, allocations: 52.06 kB / 0.7487 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/2.352, allocations: 68.12 kB / 0.7488 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/2.353, allocations: 0.8266 MB / 0.7496 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/2.353, allocations: 2.906 kB / 0.7496 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/2.353, allocations: 31.25 kB / 0.7496 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/2.353, allocations: 35.69 kB / 0.7496 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/2.354, allocations: 0.5275 MB / 0.7501 GB, free: 13.95 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.01507/2.369, allocations: 12.39 MB / 0.7622 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/2.369, allocations: 272.2 kB / 0.7625 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/2.369, allocations: 200.6 kB / 0.7627 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08984/2.459, allocations: 53.92 MB / 0.8154 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/2.459, allocations: 37.94 kB / 0.8154 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=86): time 3.206e-06/2.459, allocations: 0 / 0.8154 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86): time 0.002017/2.461, allocations: 0.9528 MB / 0.8163 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/2.461, allocations: 55.41 kB / 0.8164 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005192/2.462, allocations: 486.3 kB / 0.8168 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/2.462, allocations: 25.7 kB / 0.8169 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/2.462, allocations: 384.2 kB / 0.8172 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/2.462, allocations: 278 kB / 0.8175 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/2.462, allocations: 131.7 kB / 0.8176 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001409/2.463, allocations: 374.6 kB / 0.818 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/2.463, allocations: 170.8 kB / 0.8181 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/2.463, allocations: 359.5 kB / 0.8185 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/2.464, allocations: 0.5927 MB / 0.8191 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/2.464, allocations: 0 / 0.8191 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001119/2.465, allocations: 0.7427 MB / 0.8198 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/2.465, allocations: 8.75 kB / 0.8198 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/2.465, allocations: 8 kB / 0.8198 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001773/2.467, allocations: 337.1 kB / 0.8201 GB, free: 8.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/2.467, allocations: 69.47 kB / 0.8202 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/2.468, allocations: 1.292 MB / 0.8215 GB, free: 6.762 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/2.468, allocations: 89.88 kB / 0.8215 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/2.468, allocations: 23.19 kB / 0.8216 GB, free: 6.66 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 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002692/2.469, allocations: 201.3 kB / 0.8218 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.836e-05/2.469, allocations: 67.09 kB / 0.8218 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/2.471, allocations: 1.827 MB / 0.8236 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009182/2.472, allocations: 0.8036 MB / 0.8244 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/2.472, allocations: 0 / 0.8244 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/2.472, allocations: 3.984 kB / 0.8244 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/2.474, allocations: 2.226 MB / 0.8266 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/2.474, allocations: 0 / 0.8266 GB, free: 3.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/2.475, allocations: 93.23 kB / 0.8267 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/2.476, allocations: 279.7 kB / 0.8269 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/2.476, allocations: 11 kB / 0.8269 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/2.477, allocations: 1.34 MB / 0.8282 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/2.477, allocations: 1.203 kB / 0.8282 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/2.478, allocations: 0.9851 MB / 0.8292 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/2.478, allocations: 213.6 kB / 0.8294 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.827e-05/2.478, allocations: 26.03 kB / 0.8294 GB, free: 484 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/2.478, allocations: 14.69 kB / 0.8294 GB, free: 480 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/2.479, allocations: 43.84 kB / 0.8295 GB, free: 440 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/2.479, allocations: 19 kB / 0.8295 GB, free: 428 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004467/2.479, allocations: 395.8 kB / 0.8299 GB, free: 120 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/2.479, allocations: 0 / 0.8299 GB, free: 120 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004541/2.484, allocations: 1.5 MB / 0.8313 GB, free: 14.73 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006535/2.49, allocations: 2.204 MB / 0.8335 GB, free: 12.88 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001556/2.492, allocations: 0.949 MB / 0.8344 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/2.492, allocations: 0.875 kB / 0.8344 GB, free: 12.06 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/2.492, allocations: 401.4 kB / 0.8348 GB, free: 11.69 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001834/2.494, allocations: 394.9 kB / 0.8352 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/2.497, allocations: 2.044 MB / 0.8372 GB, free: 9.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/2.497, allocations: 1.042 MB / 0.8382 GB, free: 8.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0003731/2.498, allocations: 110.1 kB / 0.8383 GB, free: 8.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.191e-05/2.498, allocations: 63.44 kB / 0.8384 GB, free: 8.008 MB / 0.67 GB Notification: Performance of SimCode: time 2.41e-07/2.498, allocations: 0 / 0.8384 GB, free: 8.008 MB / 0.67 GB Notification: Performance of Templates: time 0.06743/2.565, allocations: 56.08 MB / 0.8931 GB, free: 176 kB / 0.7169 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)