Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.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.TestVolumeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9103/0.9103, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.406e-05/2.41e-05, allocations: 4 kB / 204.8 MB, free: 10.04 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 31.97 MB / 236.8 MB, free: 5.402 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.TestVolumeI): time 1.742/1.958, allocations: 298.2 MB / 0.5224 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5573/2.516, allocations: 195.7 MB / 0.7136 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/2.517, allocations: 25.12 kB / 0.7136 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008354/2.518, allocations: 180.1 kB / 0.7138 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002277/2.52, allocations: 0.516 MB / 0.7143 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03894/2.559, allocations: 11.41 MB / 0.7254 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003352/2.563, allocations: 2.187 MB / 0.7275 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/2.564, allocations: 0.979 MB / 0.7285 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/2.566, allocations: 0.7251 MB / 0.7292 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/2.568, allocations: 0.8411 MB / 0.73 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005755/2.569, allocations: 100.3 kB / 0.7301 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04911/2.618, allocations: 22.81 MB / 0.7524 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007415/2.619, allocations: 361.6 kB / 0.7527 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001905/2.62, allocations: 0.9073 MB / 0.7536 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03833/2.659, allocations: 13.11 MB / 0.7664 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/2.659, allocations: 0 / 0.7664 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.856e-06/2.659, allocations: 0 / 0.7664 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000144/2.659, allocations: 0 / 0.7664 GB, free: 11.44 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: 485 * Number of variables: 485 Notification: Performance of Generate backend data structure: time 0.01057/2.67, allocations: 3.192 MB / 0.7695 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/2.67, allocations: 8.594 kB / 0.7696 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/2.671, allocations: 228.1 kB / 0.7698 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/2.673, allocations: 0.8392 MB / 0.7706 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/2.673, allocations: 139.8 kB / 0.7707 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005735/2.673, allocations: 195 kB / 0.7709 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/2.678, allocations: 2.084 MB / 0.7729 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.194e-05/2.678, allocations: 5.5 kB / 0.7729 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/2.679, allocations: 82.25 kB / 0.773 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/2.679, allocations: 52.38 kB / 0.7731 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003214/2.682, allocations: 1.664 MB / 0.7747 GB, free: 7.809 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.02789/2.71, allocations: 19.74 MB / 0.794 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/2.711, allocations: 0.7449 MB / 0.7947 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005554/2.712, allocations: 288.9 kB / 0.795 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9525/3.665, allocations: 291.1 MB / 1.079 GB, free: 169.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/3.665, allocations: 50.12 kB / 1.079 GB, free: 169.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=70): time 2.815e-06/3.665, allocations: 1.75 kB / 1.079 GB, free: 169.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=70): time 0.007675/3.672, allocations: 2.059 MB / 1.081 GB, free: 168.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/3.672, allocations: 63.95 kB / 1.081 GB, free: 168.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/3.674, allocations: 1.151 MB / 1.082 GB, free: 167.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/3.674, allocations: 33.02 kB / 1.083 GB, free: 167.2 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000564/3.675, allocations: 0.9145 MB / 1.083 GB, free: 166.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/3.675, allocations: 263.9 kB / 1.084 GB, free: 166.4 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/3.675, allocations: 156.1 kB / 1.084 GB, free: 166.3 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.726e-05/3.675, allocations: 309.1 kB / 1.084 GB, free: 166 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006582/3.676, allocations: 343.4 kB / 1.084 GB, free: 165.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/3.677, allocations: 1.048 MB / 1.085 GB, free: 164.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/3.679, allocations: 1.496 MB / 1.087 GB, free: 163.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-05/3.679, allocations: 10.81 kB / 1.087 GB, free: 163.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002931/3.682, allocations: 1.676 MB / 1.089 GB, free: 161.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/3.682, allocations: 13.64 kB / 1.089 GB, free: 161.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/3.682, allocations: 27.67 kB / 1.089 GB, free: 161.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007395/3.689, allocations: 1.509 MB / 1.09 GB, free: 160.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008607/3.69, allocations: 268.8 kB / 1.09 GB, free: 160.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/3.692, allocations: 1.153 MB / 1.091 GB, free: 159.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/3.693, allocations: 200.6 kB / 1.092 GB, free: 159.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/3.693, allocations: 95.3 kB / 1.092 GB, free: 159.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 110 * Number of states: 0 () * Number of discrete variables: 38 (volumeA.Cs2.ftype,sourceP2.C.ftype,sourceP1.C.ftype,volumeA.Cs4.ftype,volumeA.Cs3.ftype,volumeA.Cs1.ftype,volumeA.Ce4.ftype,volumeA.Ce3.ftype,volumeA.fluids[1],sinkP.fluid,lumpedStraightPipe1.fluid,lumpedStraightPipe3.fluid,lumpedStraightPipe2.fluid,controlValve1.fluid,controlValve2.fluid,controlValve3.fluid,sourceP2.fluid1,volumeA.fluid1,sourceP1.fluid1,volumeA.Cs2.diff_on_2,volumeA.Cs2.diff_on_1,lumpedStraightPipe3.C2.diff_on_1,volumeA.Ce1.diff_on_2,lumpedStraightPipe2.C1.diff_on_2,controlValve2.C2.diff_on_1,volumeA.Ce2.diff_on_2,lumpedStraightPipe1.C1.diff_on_2,controlValve1.C2.diff_on_1,volumeA.Cs4.diff_on_1,volumeA.Cs3.diff_on_1,volumeA.Cs1.diff_on_1,volumeA.Ce4.diff_on_2,volumeA.Ce3.diff_on_2,volumeA.Cs4.diff_on_2,volumeA.Cs3.diff_on_2,volumeA.Cs1.diff_on_2,volumeA.Ce4.diff_on_1,volumeA.Ce3.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(8,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0007497/3.694, allocations: 383.8 kB / 1.092 GB, free: 158.8 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/3.694, allocations: 126.4 kB / 1.092 GB, free: 158.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/3.696, allocations: 1.025 MB / 1.093 GB, free: 158 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/3.696, allocations: 8 kB / 1.093 GB, free: 157.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/3.696, allocations: 2.25 kB / 1.093 GB, free: 157.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/3.696, allocations: 7.172 kB / 1.093 GB, free: 157.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003469/3.7, allocations: 2.291 MB / 1.095 GB, free: 156.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/3.7, allocations: 5.625 kB / 1.095 GB, free: 156.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/3.7, allocations: 86.27 kB / 1.096 GB, free: 156.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005384/3.705, allocations: 1.1 MB / 1.097 GB, free: 155.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/3.706, allocations: 29.17 kB / 1.097 GB, free: 155.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/3.707, allocations: 1.094 MB / 1.098 GB, free: 154.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/3.707, allocations: 4 kB / 1.098 GB, free: 154.2 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/3.709, allocations: 1.351 MB / 1.099 GB, free: 153.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004884/3.71, allocations: 295.6 kB / 1.099 GB, free: 152.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/3.71, allocations: 11.62 kB / 1.099 GB, free: 152.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005542/3.71, allocations: 21.3 kB / 1.099 GB, free: 152.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/3.71, allocations: 51.08 kB / 1.099 GB, free: 152.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/3.711, allocations: 35.3 kB / 1.099 GB, free: 152.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009174/3.711, allocations: 0.7016 MB / 1.1 GB, free: 152.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.711, allocations: 3.062 kB / 1.1 GB, free: 152.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005963/3.717, allocations: 2.158 MB / 1.102 GB, free: 150.5 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (volumeA.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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(7,34)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009587/3.727, allocations: 2.925 MB / 1.105 GB, free: 148.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002375/3.729, allocations: 1.042 MB / 1.106 GB, free: 147.4 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/3.729, allocations: 0 / 1.106 GB, free: 147.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000995/3.73, allocations: 418.7 kB / 1.107 GB, free: 147.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/3.732, allocations: 258 kB / 1.107 GB, free: 147 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004255/3.736, allocations: 3.109 MB / 1.11 GB, free: 144 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/3.737, allocations: 1.224 MB / 1.111 GB, free: 142.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008166/3.738, allocations: 213.9 kB / 1.111 GB, free: 142.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/3.738, allocations: 86.92 kB / 1.111 GB, free: 142.4 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/3.738, allocations: 0 / 1.111 GB, free: 142.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.07873/3.817, allocations: 63.29 MB / 1.173 GB, free: 79.51 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestVolumeI.pipe 2>&1) Environment - environmentSimulation: