Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.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.TestStaticCondenserHEI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.861/0.861, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.781e-05/2.782e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2067, allocations: 31.98 MB / 236.8 MB, free: 5.199 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.TestStaticCondenserHEI): time 1.736/1.943, allocations: 299.5 MB / 0.5237 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6523/2.595, allocations: 191.9 MB / 0.7111 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/2.597, allocations: 30.75 kB / 0.7111 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/2.598, allocations: 258.2 kB / 0.7114 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/2.601, allocations: 0.6096 MB / 0.712 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.05767/2.659, allocations: 10 MB / 0.7218 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005164/2.664, allocations: 2.416 MB / 0.7241 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/2.666, allocations: 1.052 MB / 0.7251 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002306/2.669, allocations: 0.8173 MB / 0.7259 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002112/2.671, allocations: 0.8953 MB / 0.7268 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000585/2.671, allocations: 89.47 kB / 0.7269 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04832/2.72, allocations: 21.55 MB / 0.7479 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000684/2.72, allocations: 334.1 kB / 0.7483 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001893/2.722, allocations: 0.9962 MB / 0.7492 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03819/2.761, allocations: 12.55 MB / 0.7615 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/2.761, allocations: 1.969 kB / 0.7615 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.087e-06/2.761, allocations: 0 / 0.7615 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.736e-05/2.761, allocations: 4 kB / 0.7615 GB, free: 12.26 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: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.01023/2.771, allocations: 3.173 MB / 0.7646 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/2.771, allocations: 11.94 kB / 0.7646 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000597/2.772, allocations: 246.8 kB / 0.7648 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/2.773, allocations: 0.8705 MB / 0.7657 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002376/2.773, allocations: 211.3 kB / 0.7659 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/2.773, allocations: 192.3 kB / 0.7661 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/2.776, allocations: 2.128 MB / 0.7681 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/2.777, allocations: 5.844 kB / 0.7682 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/2.777, allocations: 82.75 kB / 0.7682 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.194e-05/2.777, allocations: 63.36 kB / 0.7683 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/2.78, allocations: 1.57 MB / 0.7698 GB, free: 8.609 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.257/3.037, allocations: 138.3 MB / 0.9049 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/3.038, allocations: 0.8041 MB / 0.9057 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/3.039, allocations: 449.1 kB / 0.9061 GB, free: 1.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9042/3.943, allocations: 241.6 MB / 1.142 GB, free: 94.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/3.943, allocations: 51.56 kB / 1.142 GB, free: 94.53 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=132): time 3.026e-06/3.943, allocations: 0 / 1.142 GB, free: 94.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=132): time 0.01187/3.955, allocations: 3.694 MB / 1.146 GB, free: 91.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/3.955, allocations: 166 kB / 1.146 GB, free: 91.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/3.956, allocations: 1.173 MB / 1.147 GB, free: 90.35 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.579e-05/3.956, allocations: 37.52 kB / 1.147 GB, free: 90.32 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004283/3.957, allocations: 0.9233 MB / 1.148 GB, free: 89.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/3.957, allocations: 462.7 kB / 1.148 GB, free: 89.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/3.957, allocations: 194.4 kB / 1.149 GB, free: 89.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/3.957, allocations: 301.1 kB / 1.149 GB, free: 88.86 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007618/3.958, allocations: 467.7 kB / 1.149 GB, free: 88.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009549/3.959, allocations: 1.022 MB / 1.15 GB, free: 87.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/3.961, allocations: 1.546 MB / 1.152 GB, free: 86.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/3.961, allocations: 4 kB / 1.152 GB, free: 86.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.003642/3.964, allocations: 2.186 MB / 1.154 GB, free: 84.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/3.964, allocations: 16 kB / 1.154 GB, free: 84.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.411e-05/3.964, allocations: 16 kB / 1.154 GB, free: 84.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00484/3.969, allocations: 1.657 MB / 1.156 GB, free: 83.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007362/3.97, allocations: 240.5 kB / 1.156 GB, free: 83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/3.973, allocations: 4.628 MB / 1.16 GB, free: 78.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/3.974, allocations: 219.3 kB / 1.161 GB, free: 78.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/3.974, allocations: 82.88 kB / 1.161 GB, free: 78.35 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 36 (condenseur.Cex.ftype,Source_condenseur.C.ftype,sourceP.C.ftype,sourceP2.C.ftype,sourceP1.C.ftype,Puit_condenseur.fluid,condenseur.fluid_p,singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,singularPressureLoss3.fluid,Puit_condenseur1.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,condenseur.HEI,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,condenseur.fluids[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,3), (1,3), (1,3), (1,3), (4,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0006577/3.975, allocations: 366.1 kB / 1.161 GB, free: 78.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/3.975, allocations: 138.2 kB / 1.161 GB, free: 77.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/3.978, allocations: 1.943 MB / 1.163 GB, free: 76.72 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00183/3.98, allocations: 1.464 MB / 1.164 GB, free: 75.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/3.98, allocations: 0 / 1.164 GB, free: 75.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/3.98, allocations: 11.97 kB / 1.164 GB, free: 75.72 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006045/3.986, allocations: 4.317 MB / 1.169 GB, free: 72.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/3.986, allocations: 7.984 kB / 1.169 GB, free: 72.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/3.986, allocations: 117.7 kB / 1.169 GB, free: 72.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004237/3.99, allocations: 1.572 MB / 1.17 GB, free: 71 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/3.99, allocations: 29.62 kB / 1.17 GB, free: 70.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/3.993, allocations: 3.174 MB / 1.173 GB, free: 68.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/3.993, allocations: 3.75 kB / 1.173 GB, free: 68.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/3.995, allocations: 1.81 MB / 1.175 GB, free: 66.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/3.996, allocations: 340.5 kB / 1.176 GB, free: 66.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/3.996, allocations: 24.62 kB / 1.176 GB, free: 66.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/3.997, allocations: 40.77 kB / 1.176 GB, free: 66.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/3.997, allocations: 81.3 kB / 1.176 GB, free: 66.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/3.997, allocations: 35.69 kB / 1.176 GB, free: 66.37 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008959/3.998, allocations: 0.7423 MB / 1.176 GB, free: 65.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.998, allocations: 0 / 1.176 GB, free: 65.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.006065/4.004, allocations: 2.02 MB / 1.178 GB, free: 64.11 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: 3 (condenseur.HEI,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 (77): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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), (1,2), (8,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0084/4.012, allocations: 2.493 MB / 1.181 GB, free: 62.17 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003487/4.016, allocations: 1.757 MB / 1.183 GB, free: 60.87 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/4.016, allocations: 4 kB / 1.183 GB, free: 60.86 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/4.018, allocations: 0.7916 MB / 1.183 GB, free: 60.31 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/4.021, allocations: 0.5373 MB / 1.184 GB, free: 59.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/4.025, allocations: 3.973 MB / 1.188 GB, free: 56.14 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006676/4.026, allocations: 1.392 MB / 1.189 GB, free: 54.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0009607/4.027, allocations: 223 kB / 1.189 GB, free: 54.49 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/4.027, allocations: 99.23 kB / 1.189 GB, free: 54.4 MB / 0.8106 GB Notification: Performance of SimCode: time 1.964e-06/4.027, allocations: 0 / 1.189 GB, free: 54.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.2968/4.324, allocations: 69.31 MB / 1.257 GB, free: 466.5 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticCondenserHEI.pipe 2>&1) Environment - environmentSimulation: