Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.975/0.975, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.318e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2419, allocations: 31.97 MB / 236.8 MB, free: 5.215 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.TestDiaphragm): time 2.053/2.294, allocations: 293.7 MB / 0.518 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2473/2.542, allocations: 188.8 MB / 0.7024 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004002/2.542, allocations: 7.938 kB / 0.7024 GB, free: 232 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/2.542, allocations: 27.77 kB / 0.7024 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.4711/3.013, allocations: 91.95 kB / 0.7025 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0376/3.051, allocations: 9.512 MB / 0.7118 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007607/3.052, allocations: 383.8 kB / 0.7122 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/3.052, allocations: 166.9 kB / 0.7123 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/3.052, allocations: 130.2 kB / 0.7125 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/3.053, allocations: 142.7 kB / 0.7126 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/3.053, allocations: 17.16 kB / 0.7126 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04827/3.101, allocations: 21.11 MB / 0.7332 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000193/3.101, allocations: 56.59 kB / 0.7333 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003294/3.102, allocations: 186 kB / 0.7335 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03817/3.14, allocations: 10.41 MB / 0.7436 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/3.14, allocations: 0 / 0.7436 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.806e-06/3.14, allocations: 0 / 0.7436 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.16e-05/3.14, allocations: 0 / 0.7436 GB, free: 15.63 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.007558/3.147, allocations: 1.799 MB / 0.7454 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/3.148, allocations: 8.406 kB / 0.7454 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/3.148, allocations: 40.88 kB / 0.7454 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/3.148, allocations: 292.3 kB / 0.7457 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/3.148, allocations: 28.12 kB / 0.7457 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/3.148, allocations: 33.94 kB / 0.7458 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/3.149, allocations: 383 kB / 0.7461 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/3.149, allocations: 2.125 kB / 0.7461 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/3.149, allocations: 14.06 kB / 0.7461 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/3.149, allocations: 12 kB / 0.7462 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004838/3.15, allocations: 247.5 kB / 0.7464 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/3.16, allocations: 6.172 MB / 0.7524 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/3.16, allocations: 81.88 kB / 0.7525 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/3.16, allocations: 27.86 kB / 0.7525 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3362/3.496, allocations: 156 MB / 0.9049 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/3.496, allocations: 33.47 kB / 0.9049 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/3.496, allocations: 0 / 0.9049 GB, free: 6.602 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0008668/3.497, allocations: 256.7 kB / 0.9052 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/3.497, allocations: 80.95 kB / 0.9053 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/3.498, allocations: 294.1 kB / 0.9055 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/3.498, allocations: 27.45 kB / 0.9056 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/3.498, allocations: 227.8 kB / 0.9058 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/3.498, allocations: 31.02 kB / 0.9058 GB, free: 5.77 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/3.498, allocations: 33.08 kB / 0.9058 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001447/3.498, allocations: 333.9 kB / 0.9062 GB, free: 5.414 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/3.498, allocations: 51.19 kB / 0.9062 GB, free: 5.379 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/3.499, allocations: 152.5 kB / 0.9064 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/3.499, allocations: 216.5 kB / 0.9066 GB, free: 5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/3.499, allocations: 4 kB / 0.9066 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005362/3.499, allocations: 271.8 kB / 0.9068 GB, free: 4.793 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/3.499, allocations: 9.875 kB / 0.9068 GB, free: 4.785 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/3.499, allocations: 4 kB / 0.9068 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/3.5, allocations: 142.4 kB / 0.907 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/3.501, allocations: 38.89 kB / 0.907 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005187/3.501, allocations: 0.5681 MB / 0.9076 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/3.501, allocations: 35.16 kB / 0.9076 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/3.501, allocations: 15.88 kB / 0.9076 GB, free: 4.004 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,PuitsP1.fluid,Diaphragm.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Diaphragm.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001918/3.502, allocations: 150.9 kB / 0.9078 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/3.502, allocations: 23.72 kB / 0.9078 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/3.502, allocations: 170.1 kB / 0.9079 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.461e-06/3.502, allocations: 2.906 kB / 0.908 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/3.502, allocations: 4 kB / 0.908 GB, free: 3.691 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/3.502, allocations: 4.031 kB / 0.908 GB, free: 3.688 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/3.503, allocations: 308.3 kB / 0.9083 GB, free: 3.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/3.503, allocations: 8 kB / 0.9083 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.716e-05/3.503, allocations: 7.688 kB / 0.9083 GB, free: 3.375 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007211/3.504, allocations: 100.4 kB / 0.9084 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/3.504, allocations: 7.672 kB / 0.9084 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004406/3.504, allocations: 0.5576 MB / 0.9089 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/3.504, allocations: 0 / 0.9089 GB, free: 2.711 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/3.505, allocations: 170.7 kB / 0.9091 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/3.505, allocations: 108.2 kB / 0.9092 GB, free: 2.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.811e-05/3.505, allocations: 4 kB / 0.9092 GB, free: 2.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/3.505, allocations: 3.984 kB / 0.9092 GB, free: 2.422 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/3.505, allocations: 7.75 kB / 0.9092 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/3.505, allocations: 0 / 0.9092 GB, free: 2.418 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002335/3.505, allocations: 213.5 kB / 0.9094 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/3.505, allocations: 0 / 0.9094 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005846/3.511, allocations: 1.603 MB / 0.911 GB, free: 0.75 MB / 0.7481 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 (4): * Single equations (assignments): 3 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01032/3.521, allocations: 2.525 MB / 0.9134 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.000595/3.522, allocations: 129.7 kB / 0.9136 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/3.522, allocations: 256 / 0.9136 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/3.522, allocations: 46.47 kB / 0.9136 GB, free: 14.45 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/3.523, allocations: 72.48 kB / 0.9137 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/3.524, allocations: 0.5787 MB / 0.9142 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/3.524, allocations: 0.7674 MB / 0.915 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002085/3.524, allocations: 50.52 kB / 0.915 GB, free: 12.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/3.525, allocations: 23.44 kB / 0.9151 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/3.525, allocations: 2.734 kB / 0.9151 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of Templates: time 0.0774/3.602, allocations: 48.17 MB / 0.9621 GB, free: 12.89 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1) Environment - environmentSimulation: