Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.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.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8293/0.8293, allocations: 150.8 MB / 166.1 MB, free: 15.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.342e-05/1.343e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2046, allocations: 31.97 MB / 236.8 MB, free: 5.414 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.Book.SimpleExamples.Volume.TestVolumeATh): time 1.746/1.951, allocations: 296 MB / 0.5203 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5874/2.538, allocations: 195.1 MB / 0.7108 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009039/2.539, allocations: 17.44 kB / 0.7108 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006077/2.54, allocations: 131.5 kB / 0.7109 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/2.541, allocations: 350 kB / 0.7113 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03582/2.577, allocations: 11.16 MB / 0.7222 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002047/2.579, allocations: 1.317 MB / 0.7235 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/2.58, allocations: 0.577 MB / 0.724 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000989/2.581, allocations: 454.3 kB / 0.7245 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/2.582, allocations: 0.513 MB / 0.725 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002489/2.582, allocations: 53.03 kB / 0.725 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03931/2.622, allocations: 19.47 MB / 0.744 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004433/2.622, allocations: 221.9 kB / 0.7442 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/2.623, allocations: 0.5552 MB / 0.7448 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02738/2.651, allocations: 11.03 MB / 0.7556 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/2.651, allocations: 0 / 0.7556 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.995e-06/2.651, allocations: 0 / 0.7556 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.379e-05/2.651, allocations: 0 / 0.7556 GB, free: 13.83 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.00696/2.658, allocations: 2.438 MB / 0.7579 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/2.658, allocations: 12.03 kB / 0.7579 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/2.658, allocations: 144.5 kB / 0.7581 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/2.659, allocations: 0.629 MB / 0.7587 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/2.659, allocations: 83.12 kB / 0.7588 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/2.659, allocations: 111.7 kB / 0.7589 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/2.661, allocations: 1.219 MB / 0.7601 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/2.662, allocations: 10.06 kB / 0.7601 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/2.662, allocations: 48.5 kB / 0.7601 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/2.662, allocations: 29.75 kB / 0.7602 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/2.663, allocations: 0.9273 MB / 0.7611 GB, free: 11.13 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.1493/2.813, allocations: 70.27 MB / 0.8297 GB, free: 5.926 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/2.813, allocations: 460.3 kB / 0.8301 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/2.814, allocations: 168.1 kB / 0.8303 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9901/3.804, allocations: 317.1 MB / 1.14 GB, free: 99.38 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/3.804, allocations: 39.53 kB / 1.14 GB, free: 99.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=35): time 2.023e-06/3.804, allocations: 0 / 1.14 GB, free: 99.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.0032/3.807, allocations: 1.014 MB / 1.141 GB, free: 98.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/3.807, allocations: 56.61 kB / 1.141 GB, free: 98.41 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/3.808, allocations: 0.8066 MB / 1.142 GB, free: 97.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/3.808, allocations: 33.58 kB / 1.142 GB, free: 97.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003334/3.809, allocations: 0.6122 MB / 1.142 GB, free: 97.35 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/3.809, allocations: 127.3 kB / 1.143 GB, free: 97.24 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/3.809, allocations: 91.72 kB / 1.143 GB, free: 97.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.558e-05/3.809, allocations: 386.4 kB / 1.143 GB, free: 96.82 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/3.809, allocations: 194.2 kB / 1.143 GB, free: 96.69 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/3.81, allocations: 0.6304 MB / 1.144 GB, free: 95.95 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009899/3.811, allocations: 0.8828 MB / 1.145 GB, free: 95.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/3.811, allocations: 4 kB / 1.145 GB, free: 95.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001864/3.813, allocations: 1.037 MB / 1.146 GB, free: 94.34 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/3.813, allocations: 16.19 kB / 1.146 GB, free: 94.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/3.813, allocations: 16 kB / 1.146 GB, free: 94.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002333/3.815, allocations: 488.3 kB / 1.146 GB, free: 93.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004052/3.816, allocations: 161 kB / 1.146 GB, free: 93.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/3.817, allocations: 1.341 MB / 1.148 GB, free: 92.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/3.817, allocations: 117.6 kB / 1.148 GB, free: 92.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/3.817, allocations: 51.88 kB / 1.148 GB, free: 92.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 21 (sourceQ.C.ftype,sourceP2.C.ftype,volumeATh.Cs1.ftype,volumeATh.Cs2.ftype,volumeATh.fluids[1],controlValve1.fluid,controlValve2.fluid,lumpedStraightPipe1.fluid,sink.fluid,sourceP2.fluid1,sourceQ.fluid1,volumeATh.fluid1,volumeATh.Ce1.diff_on_2,controlValve1.C2.diff_on_1,volumeATh.Cs1.diff_on_2,volumeATh.Cs1.diff_on_1,controlValve2.C2.diff_on_1,volumeATh.Ce2.diff_on_2,sourceP2.C.diff_on_2,volumeATh.Cs2.diff_on_1,volumeATh.Cs2.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4), (3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003786/3.818, allocations: 272.3 kB / 1.148 GB, free: 92.12 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/3.818, allocations: 86.91 kB / 1.148 GB, free: 92.04 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/3.819, allocations: 0.6095 MB / 1.149 GB, free: 91.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/3.819, allocations: 4 kB / 1.149 GB, free: 91.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/3.819, allocations: 4.875 kB / 1.149 GB, free: 91.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/3.819, allocations: 3.984 kB / 1.149 GB, free: 91.56 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/3.822, allocations: 1.452 MB / 1.15 GB, free: 90.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/3.822, allocations: 0 / 1.15 GB, free: 90.39 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/3.822, allocations: 47.97 kB / 1.15 GB, free: 90.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/3.823, allocations: 310.3 kB / 1.15 GB, free: 90.07 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/3.823, allocations: 16.23 kB / 1.151 GB, free: 90.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007055/3.824, allocations: 1.238 MB / 1.152 GB, free: 88.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/3.824, allocations: 0 / 1.152 GB, free: 88.85 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/3.825, allocations: 0.879 MB / 1.153 GB, free: 88.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/3.826, allocations: 214.1 kB / 1.153 GB, free: 87.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.74e-05/3.826, allocations: 3.75 kB / 1.153 GB, free: 87.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/3.826, allocations: 18.61 kB / 1.153 GB, free: 87.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.319e-05/3.826, allocations: 31.64 kB / 1.153 GB, free: 87.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/3.826, allocations: 10.95 kB / 1.153 GB, free: 87.89 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005754/3.827, allocations: 0.5139 MB / 1.153 GB, free: 87.5 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.827, allocations: 3.281 kB / 1.153 GB, free: 87.5 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004744/3.832, allocations: 1.8 MB / 1.155 GB, free: 86.01 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volumeATh.h) * 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 (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,4), (2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008821/3.84, allocations: 2.601 MB / 1.158 GB, free: 83.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001421/3.842, allocations: 0.5814 MB / 1.158 GB, free: 83.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/3.842, allocations: 0 / 1.158 GB, free: 83.51 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005209/3.842, allocations: 231.3 kB / 1.158 GB, free: 83.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/3.843, allocations: 177.7 kB / 1.159 GB, free: 83.21 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/3.846, allocations: 2.02 MB / 1.161 GB, free: 81.27 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/3.847, allocations: 1.023 MB / 1.162 GB, free: 80.22 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004847/3.847, allocations: 140 kB / 1.162 GB, free: 80.09 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/3.847, allocations: 59.42 kB / 1.162 GB, free: 80.03 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/3.847, allocations: 0 / 1.162 GB, free: 80.03 MB / 0.8106 GB Notification: Performance of Templates: time 0.06277/3.91, allocations: 53.84 MB / 1.214 GB, free: 26.49 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestVolumeATh.pipe 2>&1) Environment - environmentSimulation: