Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8738/0.8738, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.072e-05/2.092e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2059, allocations: 31.97 MB / 236.8 MB, free: 5.449 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.Fluid.Examples.SimpleExamples.TestStaticCondenser): time 1.727/1.933, allocations: 298.8 MB / 0.523 GB, free: 8.258 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6569/2.59, allocations: 191.5 MB / 0.71 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/2.592, allocations: 27.12 kB / 0.71 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/2.593, allocations: 236 kB / 0.7103 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001892/2.595, allocations: 0.5601 MB / 0.7108 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03579/2.63, allocations: 9.937 MB / 0.7205 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003142/2.633, allocations: 2.085 MB / 0.7226 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/2.635, allocations: 0.9644 MB / 0.7235 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009872/2.636, allocations: 0.701 MB / 0.7242 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/2.636, allocations: 0.7565 MB / 0.7249 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/2.636, allocations: 77.5 kB / 0.725 GB, free: 3.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04546/2.682, allocations: 21.53 MB / 0.746 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007852/2.683, allocations: 291.6 kB / 0.7463 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002355/2.685, allocations: 0.8867 MB / 0.7472 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03946/2.725, allocations: 12.11 MB / 0.759 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/2.725, allocations: 0 / 0.759 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.425e-06/2.725, allocations: 4 kB / 0.759 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001301/2.725, allocations: 0 / 0.759 GB, free: 12.82 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.009411/2.734, allocations: 2.907 MB / 0.7618 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/2.734, allocations: 7.969 kB / 0.7618 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006916/2.735, allocations: 224.5 kB / 0.7621 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/2.737, allocations: 0.8045 MB / 0.7628 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/2.737, allocations: 144.7 kB / 0.763 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003241/2.737, allocations: 181.1 kB / 0.7632 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003905/2.741, allocations: 1.933 MB / 0.765 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/2.741, allocations: 6.188 kB / 0.7651 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/2.741, allocations: 86.58 kB / 0.7651 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.313e-05/2.741, allocations: 57.05 kB / 0.7652 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002752/2.744, allocations: 1.303 MB / 0.7665 GB, free: 9.52 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.2412/2.985, allocations: 107 MB / 0.871 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/2.987, allocations: 0.653 MB / 0.8716 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/2.987, allocations: 321.1 kB / 0.8719 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6848/3.672, allocations: 237.4 MB / 1.104 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.325e-05/3.672, allocations: 51.92 kB / 1.104 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=96): time 3.176e-06/3.672, allocations: 0 / 1.104 GB, free: 349.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=96): time 0.008532/3.681, allocations: 2.549 MB / 1.106 GB, free: 347 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/3.681, allocations: 162.7 kB / 1.106 GB, free: 346.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/3.682, allocations: 0.9578 MB / 1.107 GB, free: 346.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/3.682, allocations: 33.14 kB / 1.107 GB, free: 346.1 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/3.683, allocations: 0.8587 MB / 1.108 GB, free: 345.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002595/3.683, allocations: 342 kB / 1.109 GB, free: 345.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/3.683, allocations: 166.1 kB / 1.109 GB, free: 345.1 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/3.684, allocations: 358.9 kB / 1.109 GB, free: 344.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000619/3.684, allocations: 331.3 kB / 1.109 GB, free: 344.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/3.685, allocations: 0.8655 MB / 1.11 GB, free: 343.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/3.686, allocations: 1.272 MB / 1.111 GB, free: 342.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/3.686, allocations: 8 kB / 1.111 GB, free: 342.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.003289/3.69, allocations: 1.762 MB / 1.113 GB, free: 341.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/3.69, allocations: 12.62 kB / 1.113 GB, free: 341 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/3.69, allocations: 20.84 kB / 1.113 GB, free: 341 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/3.693, allocations: 1.043 MB / 1.114 GB, free: 340.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/3.693, allocations: 207.5 kB / 1.114 GB, free: 339.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/3.696, allocations: 4.401 MB / 1.119 GB, free: 335.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/3.697, allocations: 188.2 kB / 1.119 GB, free: 335.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/3.697, allocations: 67.19 kB / 1.119 GB, free: 335.4 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 35 (condenseur.Cex.ftype,Source_condenseur.C.ftype,sourceP.C.ftype,sourceP2.C.ftype,sourceP1.C.ftype,condenseur.fluids[1],Puit_condenseur.fluid,condenseur.fluid_p,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sourceP2.fluid1,sourceP1.fluid1,sourceP.fluid1,Source_condenseur.fluid1,singularPressureLoss5.C1.diff_on_2,condenseur.Cex.diff_on_1,singularPressureLoss5.C2.diff_on_1,condenseur.Cee.diff_on_2,Source_condenseur.C.diff_on_2,condenseur.Cse.diff_on_1,singularPressureLoss4.C2.diff_on_1,condenseur.Cvt.diff_on_2,sourceP.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,condenseur.Cep.diff_on_2,sourceP2.C.diff_on_2,singularPressureLoss1.C2.diff_on_1,condenseur.Cev.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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): 7 systems {(1,3), (1,1), (1,3), (1,3), (1,3), (1,3), (3,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0007367/3.698, allocations: 336.2 kB / 1.119 GB, free: 335.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/3.698, allocations: 122.6 kB / 1.119 GB, free: 335.1 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/3.7, allocations: 1.477 MB / 1.121 GB, free: 334.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001503/3.702, allocations: 1.066 MB / 1.122 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/3.702, allocations: 3.562 kB / 1.122 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/3.702, allocations: 7.984 kB / 1.122 GB, free: 333.4 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/3.708, allocations: 3.393 MB / 1.125 GB, free: 330.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/3.708, allocations: 4 kB / 1.125 GB, free: 330.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/3.708, allocations: 75.84 kB / 1.125 GB, free: 330.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/3.712, allocations: 1.172 MB / 1.126 GB, free: 329.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-05/3.712, allocations: 24 kB / 1.126 GB, free: 329.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/3.714, allocations: 2.974 MB / 1.129 GB, free: 326.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/3.714, allocations: 7.969 kB / 1.129 GB, free: 326.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002582/3.716, allocations: 1.459 MB / 1.131 GB, free: 325.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/3.717, allocations: 283.1 kB / 1.131 GB, free: 324.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002406/3.717, allocations: 16 kB / 1.131 GB, free: 324.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005755/3.718, allocations: 27.98 kB / 1.131 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/3.718, allocations: 60.86 kB / 1.131 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/3.718, allocations: 31.98 kB / 1.131 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008029/3.719, allocations: 0.5883 MB / 1.132 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/3.719, allocations: 0 / 1.132 GB, free: 324.1 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006539/3.725, allocations: 1.922 MB / 1.134 GB, free: 322.3 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (Source_condenseur.C.diff_on_2,singularPressureLoss4.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,1), (1,3), (6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009971/3.735, allocations: 2.472 MB / 1.136 GB, free: 320.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003355/3.739, allocations: 1.256 MB / 1.137 GB, free: 319 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/3.739, allocations: 2.188 kB / 1.137 GB, free: 319 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/3.74, allocations: 0.5494 MB / 1.138 GB, free: 318.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/3.743, allocations: 430 kB / 1.138 GB, free: 318.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/3.749, allocations: 3.386 MB / 1.142 GB, free: 314.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008825/3.75, allocations: 1.278 MB / 1.143 GB, free: 313.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000855/3.75, allocations: 187.8 kB / 1.143 GB, free: 313.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/3.751, allocations: 75.44 kB / 1.143 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of SimCode: time 9.92e-07/3.751, allocations: 0 / 1.143 GB, free: 313.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.08247/3.833, allocations: 63.38 MB / 1.205 GB, free: 250.7 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenser.pipe 2>&1) Environment - environmentSimulation: