Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0009856/0.0009856, allocations: 97.41 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.007829/0.007829, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003505, allocations: 13.22 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4042, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02267/0.4269, allocations: 20.07 MB / 1.094 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008005/0.435, allocations: 4.918 MB / 1.099 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007527/0.4358, allocations: 15.88 kB / 1.099 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008976/0.4367, allocations: 222.7 kB / 1.099 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.4391, allocations: 0.7615 MB / 1.099 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002057/0.4412, allocations: 0.6291 MB / 1.1 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.4436, allocations: 1.809 MB / 1.102 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005928/0.4442, allocations: 380.3 kB / 1.102 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.4452, allocations: 0.5134 MB / 1.103 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006413/0.4459, allocations: 442.1 kB / 1.103 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.721e-05/0.4459, allocations: 27.94 kB / 1.103 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.4475, allocations: 0.6003 MB / 1.104 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4477, allocations: 111.5 kB / 1.104 GB, free: 9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.448, allocations: 288.2 kB / 1.104 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.4492, allocations: 0.8175 MB / 1.105 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4492, allocations: 0 / 1.105 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4492, allocations: 4 kB / 1.105 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.956e-06/0.4493, allocations: 0 / 1.105 GB, free: 7.887 MB / 0.8575 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.00179/0.451, allocations: 0.8255 MB / 1.106 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4511, allocations: 8.031 kB / 1.106 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.4513, allocations: 68.12 kB / 1.106 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.452, allocations: 455.1 kB / 1.106 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.452, allocations: 28.66 kB / 1.106 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/0.4521, allocations: 32 kB / 1.106 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006814/0.4528, allocations: 317.9 kB / 1.107 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4528, allocations: 0 / 1.107 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.4528, allocations: 16 kB / 1.107 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.4528, allocations: 11.98 kB / 1.107 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.4537, allocations: 282.4 kB / 1.107 GB, free: 5.77 MB / 0.8575 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.002366/0.456, allocations: 1.349 MB / 1.108 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.4566, allocations: 266.4 kB / 1.109 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003733/0.457, allocations: 153.5 kB / 1.109 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/0.4575, allocations: 0.4986 MB / 1.109 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.4575, allocations: 38.5 kB / 1.109 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.4575, allocations: 4 kB / 1.109 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25): time 0.001883/0.4594, allocations: 0.587 MB / 1.11 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.4595, allocations: 59.41 kB / 1.11 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000566/0.4601, allocations: 462.1 kB / 1.11 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.4601, allocations: 37.7 kB / 1.11 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.4604, allocations: 244.5 kB / 1.111 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.254e-05/0.4605, allocations: 82.75 kB / 1.111 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4605, allocations: 37.69 kB / 1.111 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002898/0.4608, allocations: 354.8 kB / 1.111 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4612, allocations: 135.8 kB / 1.111 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.4616, allocations: 186.9 kB / 1.111 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.4623, allocations: 296.2 kB / 1.112 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.4623, allocations: 0 / 1.112 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001647/0.464, allocations: 0.512 MB / 1.112 GB, free: 164 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-05/0.4641, allocations: 110.7 kB / 1.112 GB, free: 40 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4641, allocations: 4 kB / 1.112 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.4645, allocations: 48.81 kB / 1.112 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.4649, allocations: 79.89 kB / 1.112 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005142/0.4654, allocations: 0.5601 MB / 1.113 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.466, allocations: 71.69 kB / 1.113 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.466, allocations: 12 kB / 1.113 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.627e-06/0.466, allocations: 4 kB / 1.113 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008222/0.4669, allocations: 323.6 kB / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.4669, allocations: 0 / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.4669, allocations: 4.141 kB / 1.113 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003886/0.4673, allocations: 87.88 kB / 1.113 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.4673, allocations: 0 / 1.113 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.4677, allocations: 71.69 kB / 1.113 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.4678, allocations: 15.98 kB / 1.113 GB, free: 14.74 MB / 0.8731 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.0002796/0.468, allocations: 245 kB / 1.114 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.718e-05/0.4681, allocations: 51.34 kB / 1.114 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.4692, allocations: 448.6 kB / 1.114 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.4692, allocations: 4 kB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4693, allocations: 0 / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.4693, allocations: 11.92 kB / 1.114 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.471, allocations: 0.963 MB / 1.115 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.471, allocations: 0 / 1.115 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4712, allocations: 51.97 kB / 1.115 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001744/0.4714, allocations: 52.77 kB / 1.115 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/0.4714, allocations: 16.11 kB / 1.115 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003988/0.4718, allocations: 0.5485 MB / 1.116 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.4719, allocations: 4.031 kB / 1.116 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009215/0.4728, allocations: 0.5107 MB / 1.116 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.473, allocations: 164.3 kB / 1.116 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.4731, allocations: 8 kB / 1.116 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.4734, allocations: 43.95 kB / 1.116 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.4735, allocations: 23.83 kB / 1.116 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.4736, allocations: 15.92 kB / 1.116 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003726/0.4739, allocations: 322.9 kB / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4739, allocations: 0 / 1.117 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007912/0.4747, allocations: 251.5 kB / 1.117 GB, free: 10.87 MB / 0.8731 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.0006011/0.4753, allocations: 248.1 kB / 1.117 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.4766, allocations: 497.5 kB / 1.118 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4767, allocations: 0 / 1.118 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004357/0.4771, allocations: 180 kB / 1.118 GB, free: 9.965 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.4786, allocations: 258 kB / 1.118 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4802, allocations: 1.022 MB / 1.119 GB, free: 8.656 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.4807, allocations: 0.8513 MB / 1.12 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004393/0.4811, allocations: 120.6 kB / 1.12 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.771e-05/0.4812, allocations: 43.42 kB / 1.12 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.4812, allocations: 4 kB / 1.12 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of Templates: time 0.02044/0.5017, allocations: 9.877 MB / 1.13 GB, free: 13.89 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)