Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8663/0.8663, allocations: 150.8 MB / 166.6 MB, free: 11.13 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002645, allocations: 15.97 kB / 204.7 MB, free: 6.137 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 31.32 MB / 236 MB, free: 3.852 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.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.555/1.708, allocations: 293.6 MB / 0.5172 GB, free: 8.438 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03165/1.74, allocations: 27.16 MB / 0.5437 GB, free: 13.44 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003813/1.74, allocations: 4 kB / 0.5437 GB, free: 13.44 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:58:3-60:44:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:61:3-63:42:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:64:3-66:36:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/SimpleStaticCondenser.mo:67:3-69:37:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005431/1.741, allocations: 163.1 kB / 0.5438 GB, free: 13.28 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004819/1.741, allocations: 226.3 kB / 0.5441 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01445/1.755, allocations: 5.392 MB / 0.5493 GB, free: 7.672 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009104/1.756, allocations: 0.8319 MB / 0.5501 GB, free: 6.836 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002836/1.757, allocations: 230 kB / 0.5504 GB, free: 6.605 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/1.757, allocations: 314.5 kB / 0.5507 GB, free: 6.297 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/1.757, allocations: 258.6 kB / 0.5509 GB, free: 6.043 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/1.757, allocations: 28 kB / 0.5509 GB, free: 6.016 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02244/1.78, allocations: 15.9 MB / 0.5665 GB, free: 6.102 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/1.78, allocations: 87.52 kB / 0.5665 GB, free: 6.016 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004032/1.78, allocations: 322.2 kB / 0.5668 GB, free: 5.699 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/1.793, allocations: 7.075 MB / 0.5738 GB, free: 14.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.793, allocations: 0 / 0.5738 GB, free: 14.61 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.62e-07/1.793, allocations: 0 / 0.5738 GB, free: 14.61 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/1.793, allocations: 0 / 0.5738 GB, free: 14.61 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.003282/1.796, allocations: 1.479 MB / 0.5752 GB, free: 13.08 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/1.796, allocations: 8.031 kB / 0.5752 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/1.797, allocations: 68 kB / 0.5753 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/1.797, allocations: 326.2 kB / 0.5756 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.315e-05/1.797, allocations: 29.38 kB / 0.5756 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/1.797, allocations: 40.38 kB / 0.5756 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008208/1.798, allocations: 0.6853 MB / 0.5763 GB, free: 11.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.798, allocations: 3.938 kB / 0.5763 GB, free: 11.85 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/1.798, allocations: 16 kB / 0.5763 GB, free: 11.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/1.798, allocations: 39.95 kB / 0.5764 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005604/1.798, allocations: 451.6 kB / 0.5768 GB, free: 11.36 MB / 474.7 MB 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.07468/1.873, allocations: 36.16 MB / 0.6121 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000586/1.874, allocations: 379.5 kB / 0.6125 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/1.874, allocations: 294.8 kB / 0.6128 GB, free: 2.809 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08527/1.959, allocations: 36.34 MB / 0.6482 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/1.959, allocations: 34.56 kB / 0.6483 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=124): time 2.175e-06/1.959, allocations: 0 / 0.6483 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=124): time 0.002245/1.962, allocations: 1.205 MB / 0.6495 GB, free: 9.836 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.962, allocations: 59.39 kB / 0.6495 GB, free: 9.766 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/1.962, allocations: 320.4 kB / 0.6498 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/1.962, allocations: 33.7 kB / 0.6498 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/1.962, allocations: 217.3 kB / 0.6501 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.962, allocations: 397.8 kB / 0.6504 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/1.963, allocations: 117.6 kB / 0.6505 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001368/1.963, allocations: 370.8 kB / 0.6509 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/1.963, allocations: 217.2 kB / 0.6511 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003536/1.963, allocations: 327.5 kB / 0.6514 GB, free: 7.742 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/1.964, allocations: 0.6175 MB / 0.652 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.964, allocations: 4 kB / 0.652 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001067/1.965, allocations: 0.7764 MB / 0.6528 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.965, allocations: 9.25 kB / 0.6528 GB, free: 6.297 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/1.965, allocations: 4.25 kB / 0.6528 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/1.967, allocations: 343.1 kB / 0.6531 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.488e-05/1.967, allocations: 15.98 kB / 0.6531 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/1.968, allocations: 1.293 MB / 0.6544 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/1.968, allocations: 78.81 kB / 0.6545 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/1.968, allocations: 16 kB / 0.6545 GB, free: 4.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001989/1.969, allocations: 173.8 kB / 0.6547 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-05/1.969, allocations: 51.19 kB / 0.6547 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/1.972, allocations: 4.035 MB / 0.6586 GB, free: 56 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001074/1.973, allocations: 0.8236 MB / 0.6595 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.973, allocations: 4 kB / 0.6595 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.973, allocations: 7.922 kB / 0.6595 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/1.976, allocations: 2.172 MB / 0.6616 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.976, allocations: 0 / 0.6616 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/1.976, allocations: 95.89 kB / 0.6617 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001051/1.977, allocations: 286.2 kB / 0.662 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/1.977, allocations: 16 kB / 0.662 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009263/1.978, allocations: 1.334 MB / 0.6633 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/1.978, allocations: 0 / 0.6633 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/1.98, allocations: 1.947 MB / 0.6652 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/1.98, allocations: 195.8 kB / 0.6654 GB, free: 8.965 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/1.981, allocations: 35.73 kB / 0.6654 GB, free: 8.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/1.981, allocations: 15.94 kB / 0.6654 GB, free: 8.914 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.805e-05/1.981, allocations: 48.59 kB / 0.6655 GB, free: 8.867 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.981, allocations: 20 kB / 0.6655 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004721/1.981, allocations: 418.8 kB / 0.6659 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/1.981, allocations: 0 / 0.6659 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002442/1.984, allocations: 1.015 MB / 0.6669 GB, free: 7.422 MB / 0.5573 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 {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003634/1.988, allocations: 1.167 MB / 0.668 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001359/1.989, allocations: 0.9946 MB / 0.669 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/1.989, allocations: 0.5 kB / 0.669 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/1.989, allocations: 404.2 kB / 0.6694 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.992, allocations: 429.7 kB / 0.6698 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/1.994, allocations: 2.33 MB / 0.672 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/1.995, allocations: 1.01 MB / 0.673 GB, free: 1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003262/1.995, allocations: 76.53 kB / 0.6731 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/1.995, allocations: 47.44 kB / 0.6731 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/1.995, allocations: 0 / 0.6731 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of Templates: time 0.2032/2.198, allocations: 44.59 MB / 0.7167 GB, free: 213.2 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)