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.8334/0.8334, allocations: 150.8 MB / 166.6 MB, free: 11.21 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002374, allocations: 15.98 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1645, allocations: 31.33 MB / 236 MB, free: 3.887 MB / 186.7 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.682/1.846, allocations: 294 MB / 0.5176 GB, free: 7.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4873/2.334, allocations: 191.1 MB / 0.7042 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005287/2.334, allocations: 13.56 kB / 0.7042 GB, free: 0.9648 MB / 0.5573 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.0004984/2.335, allocations: 165.9 kB / 0.7044 GB, free: 0.9219 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0005511/2.335, allocations: 289.7 kB / 0.7046 GB, free: 0.8125 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02563/2.361, allocations: 9.024 MB / 0.7135 GB, free: 15.39 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001283/2.362, allocations: 0.986 MB / 0.7144 GB, free: 15.14 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/2.363, allocations: 396 kB / 0.7148 GB, free: 15.07 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/2.363, allocations: 389 kB / 0.7152 GB, free: 15.03 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/2.364, allocations: 377.9 kB / 0.7155 GB, free: 15.03 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 6.51e-05/2.364, allocations: 47.12 kB / 0.7156 GB, free: 15.03 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03158/2.395, allocations: 20.12 MB / 0.7352 GB, free: 9.801 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/2.396, allocations: 147.8 kB / 0.7354 GB, free: 9.777 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005449/2.396, allocations: 437.8 kB / 0.7358 GB, free: 9.754 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02623/2.422, allocations: 10.41 MB / 0.7459 GB, free: 5.543 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/2.422, allocations: 0 / 0.7459 GB, free: 5.543 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.774e-06/2.422, allocations: 2.469 kB / 0.7459 GB, free: 5.543 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.254e-05/2.422, allocations: 0 / 0.7459 GB, free: 5.543 MB / 0.573 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.006818/2.429, allocations: 2.191 MB / 0.7481 GB, free: 4.188 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/2.429, allocations: 14.78 kB / 0.7481 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/2.43, allocations: 94.25 kB / 0.7482 GB, free: 4.137 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007005/2.43, allocations: 438.1 kB / 0.7486 GB, free: 3.797 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.933e-05/2.43, allocations: 55.91 kB / 0.7487 GB, free: 3.793 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/2.43, allocations: 65.25 kB / 0.7487 GB, free: 3.793 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/2.432, allocations: 0.8332 MB / 0.7495 GB, free: 3.523 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/2.432, allocations: 0 / 0.7495 GB, free: 3.523 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/2.432, allocations: 27.94 kB / 0.7496 GB, free: 3.523 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.985e-05/2.432, allocations: 35.09 kB / 0.7496 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/2.432, allocations: 0.5287 MB / 0.7501 GB, free: 3.441 MB / 0.573 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.01844/2.451, allocations: 12.39 MB / 0.7622 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/2.451, allocations: 270.4 kB / 0.7625 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/2.452, allocations: 200.3 kB / 0.7627 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1028/2.554, allocations: 53.93 MB / 0.8153 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/2.555, allocations: 34.25 kB / 0.8154 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=86): time 3.317e-06/2.555, allocations: 3.984 kB / 0.8154 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=86): time 0.001935/2.556, allocations: 0.9458 MB / 0.8163 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/2.557, allocations: 64.48 kB / 0.8163 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005679/2.557, allocations: 490.8 kB / 0.8168 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/2.557, allocations: 25.7 kB / 0.8168 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/2.557, allocations: 374.4 kB / 0.8172 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/2.558, allocations: 289.2 kB / 0.8175 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/2.558, allocations: 129.9 kB / 0.8176 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001484/2.558, allocations: 375.5 kB / 0.818 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002778/2.558, allocations: 169.4 kB / 0.8181 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/2.559, allocations: 361.3 kB / 0.8185 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/2.559, allocations: 0.5912 MB / 0.819 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/2.559, allocations: 0 / 0.819 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001174/2.56, allocations: 0.7427 MB / 0.8198 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/2.56, allocations: 8 kB / 0.8198 GB, free: 8.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/2.56, allocations: 8.625 kB / 0.8198 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/2.562, allocations: 341.3 kB / 0.8201 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/2.562, allocations: 67.84 kB / 0.8202 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/2.563, allocations: 1.292 MB / 0.8214 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/2.564, allocations: 87.98 kB / 0.8215 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/2.564, allocations: 20 kB / 0.8215 GB, free: 7.047 MB / 0.6511 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.0002648/2.564, allocations: 197.7 kB / 0.8217 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/2.564, allocations: 71.16 kB / 0.8218 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/2.566, allocations: 1.83 MB / 0.8236 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009716/2.567, allocations: 0.804 MB / 0.8244 GB, free: 4.066 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/2.567, allocations: 4 kB / 0.8244 GB, free: 4.062 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/2.567, allocations: 3.984 kB / 0.8244 GB, free: 4.059 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/2.57, allocations: 2.207 MB / 0.8265 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/2.57, allocations: 4 kB / 0.8265 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/2.57, allocations: 96.98 kB / 0.8266 GB, free: 1.703 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/2.571, allocations: 286 kB / 0.8269 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/2.571, allocations: 8 kB / 0.8269 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009934/2.572, allocations: 1.344 MB / 0.8282 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/2.572, allocations: 0 / 0.8282 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/2.575, allocations: 2.036 MB / 0.8302 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/2.575, allocations: 219.8 kB / 0.8304 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.03e-05/2.575, allocations: 19.88 kB / 0.8304 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/2.575, allocations: 19.91 kB / 0.8305 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/2.575, allocations: 40.59 kB / 0.8305 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/2.575, allocations: 17.2 kB / 0.8305 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004289/2.576, allocations: 398.8 kB / 0.8309 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/2.576, allocations: 0 / 0.8309 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004156/2.58, allocations: 1.549 MB / 0.8324 GB, free: 11.65 MB / 0.6667 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.006293/2.586, allocations: 2.205 MB / 0.8346 GB, free: 9.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001378/2.588, allocations: 0.9407 MB / 0.8355 GB, free: 8.746 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/2.588, allocations: 4.875 kB / 0.8355 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/2.588, allocations: 400.3 kB / 0.8359 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/2.59, allocations: 403.3 kB / 0.8362 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002993/2.593, allocations: 2.624 MB / 0.8388 GB, free: 5.305 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/2.594, allocations: 1.073 MB / 0.8399 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004038/2.594, allocations: 117 kB / 0.84 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/2.594, allocations: 55.44 kB / 0.84 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of SimCode: time 4.11e-07/2.594, allocations: 0 / 0.84 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of Templates: time 0.07357/2.668, allocations: 56.62 MB / 0.8953 GB, free: 11.61 MB / 0.7292 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)