Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.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.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7405/0.7405, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.541e-05/1.542e-05, allocations: 7.984 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 31.97 MB / 236.8 MB, free: 5.367 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.TestStaticCondenser): time 1.435/1.566, allocations: 297.6 MB / 0.5218 GB, free: 9.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04204/1.608, allocations: 39.76 MB / 0.5607 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/1.608, allocations: 8 kB / 0.5607 GB, free: 1.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006758/1.609, allocations: 226.6 kB / 0.5609 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/1.61, allocations: 424.7 kB / 0.5613 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01913/1.629, allocations: 7.844 MB / 0.569 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/1.631, allocations: 1.576 MB / 0.5705 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006475/1.632, allocations: 0.5073 MB / 0.571 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/1.633, allocations: 0.5092 MB / 0.5715 GB, free: 6.793 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005498/1.633, allocations: 0.5012 MB / 0.572 GB, free: 6.289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.97e-05/1.633, allocations: 36 kB / 0.572 GB, free: 6.254 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02796/1.661, allocations: 18.74 MB / 0.5903 GB, free: 3.488 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/1.661, allocations: 167.1 kB / 0.5905 GB, free: 3.324 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006879/1.662, allocations: 0.6154 MB / 0.5911 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.678, allocations: 9.729 MB / 0.6006 GB, free: 8.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.678, allocations: 0 / 0.6006 GB, free: 8.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/1.679, allocations: 0 / 0.6006 GB, free: 8.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.951e-05/1.679, allocations: 0 / 0.6006 GB, free: 8.945 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.005057/1.684, allocations: 2.193 MB / 0.6027 GB, free: 6.695 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.684, allocations: 19.91 kB / 0.6027 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/1.684, allocations: 146.2 kB / 0.6029 GB, free: 6.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005487/1.684, allocations: 0.4957 MB / 0.6034 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/1.684, allocations: 74.05 kB / 0.6034 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.685, allocations: 100 kB / 0.6035 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/1.686, allocations: 1.352 MB / 0.6048 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/1.686, allocations: 7.938 kB / 0.6048 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/1.686, allocations: 40 kB / 0.6049 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/1.686, allocations: 63.89 kB / 0.6049 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.688, allocations: 0.8671 MB / 0.6058 GB, free: 3.375 MB / 494.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.02184/1.71, allocations: 15.32 MB / 0.6208 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009838/1.711, allocations: 0.627 MB / 0.6214 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005391/1.711, allocations: 457.9 kB / 0.6218 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3053/2.016, allocations: 81.3 MB / 0.7012 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/2.016, allocations: 38.55 kB / 0.7012 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=181): time 2.555e-06/2.016, allocations: 4 kB / 0.7012 GB, free: 222.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181): time 0.01146/2.028, allocations: 3.484 MB / 0.7046 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.295e-05/2.028, allocations: 57.81 kB / 0.7047 GB, free: 222 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/2.029, allocations: 0.6005 MB / 0.7053 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/2.029, allocations: 38.52 kB / 0.7053 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/2.029, allocations: 396.7 kB / 0.7057 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/2.029, allocations: 0.5845 MB / 0.7063 GB, free: 221.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/2.029, allocations: 144.3 kB / 0.7064 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.983e-05/2.029, allocations: 350.1 kB / 0.7067 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/2.03, allocations: 337 kB / 0.7071 GB, free: 220.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/2.03, allocations: 0.5594 MB / 0.7076 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/2.031, allocations: 1.014 MB / 0.7086 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/2.031, allocations: 2.656 kB / 0.7086 GB, free: 220.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002147/2.034, allocations: 1.574 MB / 0.7101 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.034, allocations: 6.812 kB / 0.7101 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/2.034, allocations: 10.97 kB / 0.7102 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003158/2.037, allocations: 1.523 MB / 0.7116 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/2.037, allocations: 63 kB / 0.7117 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/2.041, allocations: 6.58 MB / 0.7181 GB, free: 214.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/2.041, allocations: 143.7 kB / 0.7183 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.656e-05/2.042, allocations: 38.88 kB / 0.7183 GB, free: 214.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 24 (singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP2.C.b,sourceP1.C.b,sourceP.C.b,condenseur.Cev.a,condenseur.Cep.a,condenseur.Cvt.a,condenseur.Cex.b,condenseur.Cse.b,condenseur.Cee.a,Puit_condenseur.C.a,Source_condenseur.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (10,2), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000308/2.042, allocations: 251.9 kB / 0.7185 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/2.042, allocations: 94.81 kB / 0.7186 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/2.045, allocations: 3.402 MB / 0.722 GB, free: 214 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002292/2.048, allocations: 2.061 MB / 0.724 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/2.048, allocations: 0.5625 kB / 0.724 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/2.048, allocations: 9.188 kB / 0.724 GB, free: 213.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/2.053, allocations: 4.698 MB / 0.7286 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/2.053, allocations: 0 / 0.7286 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/2.053, allocations: 201.5 kB / 0.7288 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003963/2.057, allocations: 2.173 MB / 0.7309 GB, free: 212.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-05/2.057, allocations: 28.47 kB / 0.7309 GB, free: 212.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/2.06, allocations: 3.873 MB / 0.7347 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/2.06, allocations: 0 / 0.7347 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/2.062, allocations: 2.246 MB / 0.7369 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/2.062, allocations: 350.6 kB / 0.7372 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.184e-05/2.063, allocations: 32.33 kB / 0.7373 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/2.063, allocations: 55.19 kB / 0.7373 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/2.063, allocations: 96.14 kB / 0.7374 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/2.063, allocations: 38.59 kB / 0.7374 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003651/2.063, allocations: 438.5 kB / 0.7379 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/2.063, allocations: 0 / 0.7379 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002794/2.066, allocations: 1.544 MB / 0.7394 GB, free: 207.3 MB / 0.5762 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 (130): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,3), (1,3), (10,2), (11,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003906/2.07, allocations: 1.862 MB / 0.7412 GB, free: 206.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002838/2.073, allocations: 2.389 MB / 0.7435 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/2.073, allocations: 0 / 0.7435 GB, free: 203.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/2.075, allocations: 1.236 MB / 0.7447 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/2.077, allocations: 0.6221 MB / 0.7453 GB, free: 202.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003039/2.08, allocations: 3.624 MB / 0.7489 GB, free: 198.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/2.081, allocations: 1.334 MB / 0.7502 GB, free: 197.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004144/2.081, allocations: 126.6 kB / 0.7503 GB, free: 197.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/2.081, allocations: 75.44 kB / 0.7504 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/2.081, allocations: 3.938 kB / 0.7504 GB, free: 197.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06508/2.147, allocations: 64.63 MB / 0.8135 GB, free: 133.6 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe 2>&1) Environment - environmentSimulation: