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.755/0.755, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.474e-05/1.491e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1307, allocations: 31.97 MB / 236.8 MB, free: 5.438 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser): time 1.433/1.564, allocations: 295.2 MB / 0.5195 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0287/1.593, allocations: 26.79 MB / 0.5456 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/1.593, allocations: 8 kB / 0.5456 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/1.594, allocations: 159.1 kB / 0.5458 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/1.594, allocations: 226.3 kB / 0.546 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01439/1.609, allocations: 5.396 MB / 0.5513 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/1.61, allocations: 0.8241 MB / 0.5521 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/1.61, allocations: 208.1 kB / 0.5523 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004153/1.61, allocations: 286.5 kB / 0.5525 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002841/1.611, allocations: 238.6 kB / 0.5528 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/1.611, allocations: 16 kB / 0.5528 GB, free: 9.934 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02333/1.634, allocations: 15.9 MB / 0.5683 GB, free: 10.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/1.634, allocations: 71.56 kB / 0.5684 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003569/1.635, allocations: 332 kB / 0.5687 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/1.645, allocations: 7.02 MB / 0.5755 GB, free: 2.582 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.645, allocations: 0 / 0.5755 GB, free: 2.582 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.292e-06/1.645, allocations: 0 / 0.5755 GB, free: 2.582 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/1.645, allocations: 4 kB / 0.5755 GB, free: 2.578 MB / 462.1 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.003299/1.649, allocations: 1.388 MB / 0.5769 GB, free: 1.141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/1.649, allocations: 8.031 kB / 0.5769 GB, free: 1.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/1.649, allocations: 68 kB / 0.577 GB, free: 1.066 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/1.649, allocations: 318.2 kB / 0.5773 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/1.649, allocations: 33.38 kB / 0.5773 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.396e-05/1.649, allocations: 36.38 kB / 0.5773 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/1.65, allocations: 0.6892 MB / 0.578 GB, free: 15.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.65, allocations: 3.938 kB / 0.578 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/1.65, allocations: 20 kB / 0.578 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.27e-05/1.65, allocations: 36.67 kB / 0.5781 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/1.651, allocations: 455.6 kB / 0.5785 GB, free: 15.41 MB / 478.1 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.0676/1.718, allocations: 36.41 MB / 0.6141 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/1.719, allocations: 375.5 kB / 0.6144 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/1.719, allocations: 294.8 kB / 0.6147 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07634/1.796, allocations: 36.72 MB / 0.6506 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/1.796, allocations: 30.56 kB / 0.6506 GB, free: 14.53 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 1.884e-06/1.796, allocations: 0 / 0.6506 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002075/1.798, allocations: 1.219 MB / 0.6518 GB, free: 13.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/1.798, allocations: 51.41 kB / 0.6518 GB, free: 13.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/1.798, allocations: 324.4 kB / 0.6521 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/1.798, allocations: 29.7 kB / 0.6522 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/1.798, allocations: 213.4 kB / 0.6524 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.798, allocations: 405.8 kB / 0.6528 GB, free: 12.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/1.799, allocations: 77.66 kB / 0.6528 GB, free: 12.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.799, allocations: 370.8 kB / 0.6532 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/1.799, allocations: 229.2 kB / 0.6534 GB, free: 11.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/1.799, allocations: 323.6 kB / 0.6537 GB, free: 11.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/1.8, allocations: 0.6175 MB / 0.6543 GB, free: 10.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.8, allocations: 0 / 0.6543 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00106/1.801, allocations: 0.7802 MB / 0.6551 GB, free: 9.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.801, allocations: 9.875 kB / 0.6551 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/1.801, allocations: 3.984 kB / 0.6551 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001714/1.803, allocations: 406.5 kB / 0.6555 GB, free: 9.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/1.803, allocations: 15.94 kB / 0.6555 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009922/1.804, allocations: 1.286 MB / 0.6568 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/1.804, allocations: 78.81 kB / 0.6568 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.829e-05/1.804, allocations: 19.94 kB / 0.6569 GB, free: 7.902 MB / 0.545 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.00022/1.804, allocations: 177.8 kB / 0.657 GB, free: 7.719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.857e-05/1.805, allocations: 55.19 kB / 0.6571 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/1.808, allocations: 4.031 MB / 0.661 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009868/1.809, allocations: 0.8235 MB / 0.6618 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/1.809, allocations: 0 / 0.6618 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.809, allocations: 7.922 kB / 0.6618 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/1.812, allocations: 2.184 MB / 0.664 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/1.812, allocations: 0 / 0.664 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/1.812, allocations: 91.84 kB / 0.664 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009977/1.813, allocations: 306.6 kB / 0.6643 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/1.813, allocations: 11.94 kB / 0.6643 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009064/1.814, allocations: 1.338 MB / 0.6657 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.814, allocations: 4 kB / 0.6657 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/1.815, allocations: 0.9649 MB / 0.6666 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/1.815, allocations: 267.5 kB / 0.6669 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/1.815, allocations: 20 kB / 0.6669 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/1.815, allocations: 12 kB / 0.6669 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/1.816, allocations: 44.53 kB / 0.6669 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/1.816, allocations: 24 kB / 0.667 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004268/1.816, allocations: 414.8 kB / 0.6673 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.816, allocations: 0 / 0.6673 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002222/1.818, allocations: 0.9993 MB / 0.6683 GB, free: 11.78 MB / 0.5606 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.003646/1.822, allocations: 1.164 MB / 0.6695 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001143/1.823, allocations: 0.9946 MB / 0.6704 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.823, allocations: 0 / 0.6704 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/1.824, allocations: 400.2 kB / 0.6708 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/1.826, allocations: 418.8 kB / 0.6712 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/1.827, allocations: 1.766 MB / 0.6729 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/1.828, allocations: 0.9868 MB / 0.6739 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002669/1.828, allocations: 72.53 kB / 0.674 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/1.828, allocations: 47.44 kB / 0.674 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/1.828, allocations: 4 kB / 0.674 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of Templates: time 0.1952/2.024, allocations: 43.97 MB / 0.717 GB, free: 223.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: