Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009193/0.0009191, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006336/0.006336, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.863/1.863, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005951/0.000595, allocations: 13.19 kB / 0.6743 GB, free: 25.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3224, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01996/0.3424, allocations: 20.08 MB / 0.8075 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006618/0.349, allocations: 4.889 MB / 0.8123 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.3497, allocations: 15.88 kB / 0.8123 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.3504, allocations: 218.7 kB / 0.8125 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.3524, allocations: 0.7464 MB / 0.8132 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.3542, allocations: 0.6505 MB / 0.8138 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002034/0.3562, allocations: 1.809 MB / 0.8156 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005435/0.3568, allocations: 364.3 kB / 0.816 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009033/0.3577, allocations: 0.5173 MB / 0.8165 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.3582, allocations: 454 kB / 0.8169 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.3583, allocations: 24 kB / 0.8169 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3595, allocations: 0.6003 MB / 0.8175 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.3596, allocations: 103.5 kB / 0.8176 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002548/0.3599, allocations: 296.1 kB / 0.8179 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000915/0.3608, allocations: 0.7982 MB / 0.8187 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3608, allocations: 4 kB / 0.8187 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3608, allocations: 4 kB / 0.8187 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3608, allocations: 0 / 0.8187 GB, free: 11.95 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001292/0.3621, allocations: 0.8332 MB / 0.8195 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3622, allocations: 12.03 kB / 0.8195 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3623, allocations: 64.19 kB / 0.8196 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.3629, allocations: 451.2 kB / 0.82 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3629, allocations: 24.66 kB / 0.82 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.609e-05/0.363, allocations: 39.98 kB / 0.82 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006041/0.3636, allocations: 318 kB / 0.8204 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3636, allocations: 0 / 0.8204 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.3636, allocations: 12 kB / 0.8204 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3637, allocations: 4 kB / 0.8204 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.3643, allocations: 286.4 kB / 0.8206 GB, free: 9.832 MB / 0.6387 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.001961/0.3662, allocations: 1.364 MB / 0.822 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.3667, allocations: 275.1 kB / 0.8222 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.367, allocations: 136.8 kB / 0.8224 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/0.3675, allocations: 0.5025 MB / 0.8229 GB, free: 7.32 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.3675, allocations: 34.56 kB / 0.8229 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.3675, allocations: 0 / 0.8229 GB, free: 7.277 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001642/0.3692, allocations: 0.5957 MB / 0.8235 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3692, allocations: 55.41 kB / 0.8235 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004662/0.3697, allocations: 466.1 kB / 0.824 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.3697, allocations: 33.7 kB / 0.824 GB, free: 6.086 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.3699, allocations: 240.4 kB / 0.8242 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.37, allocations: 90.73 kB / 0.8243 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3701, allocations: 37.7 kB / 0.8244 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3702, allocations: 354.8 kB / 0.8247 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.3705, allocations: 131.9 kB / 0.8248 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.3709, allocations: 193 kB / 0.825 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.3715, allocations: 290.3 kB / 0.8253 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3715, allocations: 0 / 0.8253 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001438/0.3729, allocations: 0.5047 MB / 0.8258 GB, free: 4.219 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.145e-05/0.373, allocations: 109.4 kB / 0.8259 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.373, allocations: 0 / 0.8259 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.3734, allocations: 68.91 kB / 0.8259 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.3737, allocations: 71.88 kB / 0.826 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003999/0.3741, allocations: 0.5641 MB / 0.8266 GB, free: 3.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.3746, allocations: 67.58 kB / 0.8266 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.826e-05/0.3746, allocations: 19.92 kB / 0.8266 GB, free: 3.285 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.3746, allocations: 8.062 kB / 0.8266 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006907/0.3753, allocations: 319.7 kB / 0.827 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.3754, allocations: 0 / 0.827 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-06/0.3754, allocations: 0 / 0.827 GB, free: 2.965 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.3757, allocations: 83.89 kB / 0.827 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.3757, allocations: 11.92 kB / 0.827 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.3762, allocations: 55.8 kB / 0.8271 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.3762, allocations: 12 kB / 0.8271 GB, free: 2.805 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (34): * Single equations (assignments): 33 * 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 prepare postOptimizeDAE: time 0.0002742/0.3765, allocations: 256.9 kB / 0.8274 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.3766, allocations: 47.34 kB / 0.8274 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000984/0.3776, allocations: 436.2 kB / 0.8278 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3776, allocations: 4 kB / 0.8278 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3776, allocations: 4 kB / 0.8278 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.3776, allocations: 7.922 kB / 0.8278 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/0.3791, allocations: 0.967 MB / 0.8288 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.3791, allocations: 11.94 kB / 0.8288 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.3793, allocations: 59.97 kB / 0.8288 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.3795, allocations: 44.77 kB / 0.8289 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.3796, allocations: 8 kB / 0.8289 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003382/0.3799, allocations: 0.5602 MB / 0.8294 GB, free: 300 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3799, allocations: 3.984 kB / 0.8294 GB, free: 296 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009011/0.3808, allocations: 0.512 MB / 0.8299 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.381, allocations: 160.3 kB / 0.8301 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.3811, allocations: 4 kB / 0.8301 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3814, allocations: 43.95 kB / 0.8301 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.665e-05/0.3815, allocations: 23.97 kB / 0.8302 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.3815, allocations: 11.94 kB / 0.8302 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003682/0.3819, allocations: 326.9 kB / 0.8305 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3819, allocations: 0 / 0.8305 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000842/0.3828, allocations: 259.5 kB / 0.8307 GB, free: 14.92 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0005982/0.3834, allocations: 244.3 kB / 0.831 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3847, allocations: 494.3 kB / 0.8314 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3847, allocations: 4 kB / 0.8314 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004312/0.3852, allocations: 175.8 kB / 0.8316 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.3867, allocations: 265 kB / 0.8319 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.3884, allocations: 1.018 MB / 0.8329 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.3889, allocations: 0.8591 MB / 0.8337 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004556/0.3894, allocations: 120.4 kB / 0.8338 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.923e-05/0.3895, allocations: 39.42 kB / 0.8339 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of SimCode: time 1.272e-06/0.3895, allocations: 0 / 0.8339 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.01691/0.4064, allocations: 9.867 MB / 0.8435 GB, free: 1.961 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) Environment - environmentSimulation: