Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9/0.9, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.546e-05/1.567e-05, allocations: 0 / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 31.98 MB / 236.8 MB, free: 5.465 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.PressureLoss.TestDiaphragm): time 1.792/1.999, allocations: 293.6 MB / 0.5179 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2176/2.217, allocations: 188.8 MB / 0.7023 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003048/2.217, allocations: 4 kB / 0.7023 GB, free: 200 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.746e-05/2.217, allocations: 27.72 kB / 0.7024 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3803/2.598, allocations: 92.33 kB / 0.7025 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02856/2.626, allocations: 9.52 MB / 0.7118 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/2.627, allocations: 381.6 kB / 0.7121 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/2.627, allocations: 168.3 kB / 0.7123 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/2.627, allocations: 133.5 kB / 0.7124 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/2.627, allocations: 142.7 kB / 0.7125 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/2.627, allocations: 14.62 kB / 0.7126 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03808/2.666, allocations: 21.11 MB / 0.7332 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/2.666, allocations: 52.44 kB / 0.7332 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002912/2.666, allocations: 186.4 kB / 0.7334 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02688/2.693, allocations: 10.41 MB / 0.7436 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/2.693, allocations: 0 / 0.7436 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.655e-06/2.693, allocations: 0 / 0.7436 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.063e-06/2.693, allocations: 0 / 0.7436 GB, free: 15.57 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.005691/2.699, allocations: 1.79 MB / 0.7453 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/2.699, allocations: 11.12 kB / 0.7453 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/2.699, allocations: 39.72 kB / 0.7454 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/2.699, allocations: 290.3 kB / 0.7456 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/2.699, allocations: 29.81 kB / 0.7457 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/2.699, allocations: 34.31 kB / 0.7457 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/2.7, allocations: 380.5 kB / 0.7461 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/2.7, allocations: 0 / 0.7461 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/2.7, allocations: 18.73 kB / 0.7461 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/2.7, allocations: 11.53 kB / 0.7461 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000402/2.7, allocations: 245.4 kB / 0.7463 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008382/2.709, allocations: 6.176 MB / 0.7524 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/2.709, allocations: 75.12 kB / 0.7524 GB, free: 8.621 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/2.709, allocations: 30.86 kB / 0.7525 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3134/3.022, allocations: 156 MB / 0.9048 GB, free: 6.566 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/3.022, allocations: 34.56 kB / 0.9049 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/3.022, allocations: 0 / 0.9049 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of matching and sorting (n=7): time 0.0009441/3.023, allocations: 258.9 kB / 0.9051 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/3.023, allocations: 78.97 kB / 0.9052 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000419/3.024, allocations: 294.3 kB / 0.9055 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/3.024, allocations: 25.7 kB / 0.9055 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/3.024, allocations: 238.8 kB / 0.9057 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/3.024, allocations: 30.05 kB / 0.9058 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/3.024, allocations: 33.08 kB / 0.9058 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001442/3.024, allocations: 330 kB / 0.9061 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/3.025, allocations: 47.19 kB / 0.9061 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/3.025, allocations: 153.6 kB / 0.9063 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/3.025, allocations: 219 kB / 0.9065 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/3.025, allocations: 0 / 0.9065 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000622/3.026, allocations: 276.9 kB / 0.9068 GB, free: 4.719 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/3.026, allocations: 8 kB / 0.9068 GB, free: 4.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/3.026, allocations: 4 kB / 0.9068 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/3.027, allocations: 132.5 kB / 0.9069 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/3.027, allocations: 44.64 kB / 0.9069 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005053/3.027, allocations: 0.5655 MB / 0.9075 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/3.028, allocations: 35.14 kB / 0.9075 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/3.028, allocations: 18.72 kB / 0.9076 GB, free: 3.93 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.0001816/3.028, allocations: 151.5 kB / 0.9077 GB, free: 3.793 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/3.028, allocations: 23.72 kB / 0.9077 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005931/3.029, allocations: 172.1 kB / 0.9079 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/3.029, allocations: 4.031 kB / 0.9079 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/3.029, allocations: 4 kB / 0.9079 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/3.029, allocations: 0 / 0.9079 GB, free: 3.613 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/3.029, allocations: 309 kB / 0.9082 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/3.029, allocations: 0 / 0.9082 GB, free: 3.312 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/3.029, allocations: 11.98 kB / 0.9082 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006922/3.03, allocations: 104.1 kB / 0.9083 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/3.03, allocations: 0 / 0.9083 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004222/3.03, allocations: 0.5728 MB / 0.9089 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/3.03, allocations: 0 / 0.9089 GB, free: 2.633 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/3.031, allocations: 168.8 kB / 0.909 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/3.031, allocations: 108.5 kB / 0.9091 GB, free: 2.355 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/3.031, allocations: 4.062 kB / 0.9091 GB, free: 2.352 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.045e-05/3.031, allocations: 7.688 kB / 0.9091 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/3.031, allocations: 7.984 kB / 0.9091 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/3.031, allocations: 0 / 0.9091 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002507/3.031, allocations: 206.8 kB / 0.9093 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.6e-07/3.031, allocations: 0 / 0.9093 GB, free: 2.172 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006282/3.038, allocations: 1.599 MB / 0.9109 GB, free: 0.6797 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.009059/3.047, allocations: 2.53 MB / 0.9134 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0005155/3.047, allocations: 133.1 kB / 0.9135 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/3.047, allocations: 2.734 kB / 0.9135 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001409/3.047, allocations: 36.3 kB / 0.9135 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/3.048, allocations: 70.56 kB / 0.9136 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/3.049, allocations: 0.5797 MB / 0.9142 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/3.049, allocations: 0.7596 MB / 0.9149 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001988/3.049, allocations: 53.42 kB / 0.915 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.694e-05/3.049, allocations: 31.44 kB / 0.915 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of SimCode: time 2.21e-07/3.049, allocations: 2.625 kB / 0.915 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of Templates: time 0.0641/3.114, allocations: 48.17 MB / 0.962 GB, free: 12.81 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.pipe 2>&1) Environment - environmentSimulation: