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.001335/0.001335, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 189.1 kB / 16.64 MB, free: 6.594 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.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001475/0.001475, allocations: 78.06 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3175, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02313/0.3407, allocations: 20.75 MB / 0.8044 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008316/0.3491, allocations: 4.92 MB / 0.8092 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.3502, allocations: 19.88 kB / 0.8092 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.3514, allocations: 286 kB / 0.8095 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.3542, allocations: 0.8121 MB / 0.8103 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002598/0.3568, allocations: 0.7105 MB / 0.811 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003006/0.3599, allocations: 1.38 MB / 0.8123 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000913/0.3608, allocations: 436.5 kB / 0.8127 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001584/0.3624, allocations: 0.572 MB / 0.8133 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008104/0.3632, allocations: 446 kB / 0.8137 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.303e-05/0.3633, allocations: 44 kB / 0.8138 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.3649, allocations: 0.6433 MB / 0.8144 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.3651, allocations: 119.5 kB / 0.8145 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.3654, allocations: 286.5 kB / 0.8148 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3669, allocations: 0.845 MB / 0.8156 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.974e-06/0.3669, allocations: 0 / 0.8156 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.496e-06/0.367, allocations: 0 / 0.8156 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.367, allocations: 0 / 0.8156 GB, free: 12.43 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.00203/0.369, allocations: 0.9304 MB / 0.8165 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.3691, allocations: 8.031 kB / 0.8165 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.3693, allocations: 68.19 kB / 0.8166 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000843/0.3701, allocations: 479.3 kB / 0.817 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.3702, allocations: 28.66 kB / 0.8171 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.3702, allocations: 39.98 kB / 0.8171 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.3709, allocations: 306 kB / 0.8174 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.3709, allocations: 0 / 0.8174 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.371, allocations: 16 kB / 0.8174 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.371, allocations: 4 kB / 0.8174 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.3716, allocations: 258.4 kB / 0.8177 GB, free: 10.22 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.002309/0.3739, allocations: 1.341 MB / 0.819 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.3744, allocations: 255.1 kB / 0.8192 GB, free: 8.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.3748, allocations: 136.7 kB / 0.8193 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000499/0.3753, allocations: 0.4986 MB / 0.8198 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3753, allocations: 34.78 kB / 0.8199 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 3.397e-06/0.3753, allocations: 4 kB / 0.8199 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001841/0.3772, allocations: 0.5639 MB / 0.8204 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3772, allocations: 55.41 kB / 0.8205 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005755/0.3778, allocations: 466.2 kB / 0.8209 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.3779, allocations: 29.7 kB / 0.8209 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3781, allocations: 252.4 kB / 0.8212 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.606e-05/0.3782, allocations: 86.75 kB / 0.8213 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.3783, allocations: 73.67 kB / 0.8213 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3784, allocations: 350.8 kB / 0.8217 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.3787, allocations: 128.8 kB / 0.8218 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/0.3791, allocations: 177 kB / 0.822 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.3797, allocations: 276.8 kB / 0.8222 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.3797, allocations: 0 / 0.8222 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001472/0.3812, allocations: 496.6 kB / 0.8227 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.3812, allocations: 4.781 kB / 0.8227 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.3812, allocations: 8.031 kB / 0.8227 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.3816, allocations: 60.73 kB / 0.8228 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.382, allocations: 67.89 kB / 0.8228 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004581/0.3825, allocations: 0.5602 MB / 0.8234 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.3829, allocations: 51.67 kB / 0.8234 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.491e-05/0.3829, allocations: 20 kB / 0.8234 GB, free: 3.898 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004263/0.3834, allocations: 247.8 kB / 0.8237 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003328/0.3837, allocations: 173.4 kB / 0.8238 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005359/0.3843, allocations: 258.4 kB / 0.8241 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3843, allocations: 0 / 0.8241 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007532/0.385, allocations: 368.7 kB / 0.8244 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3851, allocations: 8 kB / 0.8245 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.3851, allocations: 0 / 0.8245 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/0.3851, allocations: 0 / 0.8245 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.3854, allocations: 91.81 kB / 0.8245 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.3855, allocations: 0 / 0.8245 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.3859, allocations: 43.8 kB / 0.8246 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.3859, allocations: 19.98 kB / 0.8246 GB, free: 2.676 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.0001698/0.3861, allocations: 198.8 kB / 0.8248 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.3862, allocations: 51.44 kB / 0.8248 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/0.3872, allocations: 436.5 kB / 0.8253 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.3872, allocations: 0 / 0.8253 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3872, allocations: 0 / 0.8253 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3872, allocations: 7.984 kB / 0.8253 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001485/0.3887, allocations: 0.9475 MB / 0.8262 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3887, allocations: 0 / 0.8262 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.389, allocations: 47.91 kB / 0.8262 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.3891, allocations: 44.83 kB / 0.8263 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.3892, allocations: 7.984 kB / 0.8263 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000368/0.3896, allocations: 0.5563 MB / 0.8268 GB, free: 284 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.3896, allocations: 11.91 kB / 0.8268 GB, free: 272 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.3904, allocations: 492.1 kB / 0.8273 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001759/0.3906, allocations: 152.6 kB / 0.8275 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.3907, allocations: 11.94 kB / 0.8275 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.391, allocations: 35.95 kB / 0.8275 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.745e-05/0.3911, allocations: 23.84 kB / 0.8275 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.3911, allocations: 12 kB / 0.8275 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003814/0.3915, allocations: 322.9 kB / 0.8278 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3915, allocations: 0 / 0.8278 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007849/0.3923, allocations: 255.5 kB / 0.8281 GB, free: 14.94 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.0006087/0.3929, allocations: 254.3 kB / 0.8283 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001234/0.3942, allocations: 468.4 kB / 0.8288 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3942, allocations: 0 / 0.8288 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.3946, allocations: 167.8 kB / 0.8289 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3956, allocations: 214.5 kB / 0.8291 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3972, allocations: 0.8214 MB / 0.8299 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.3976, allocations: 0.8589 MB / 0.8308 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003815/0.398, allocations: 120.1 kB / 0.8309 GB, free: 12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.3981, allocations: 43.42 kB / 0.8309 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of SimCode: time 1.773e-06/0.3981, allocations: 3.938 kB / 0.8309 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.01781/0.4159, allocations: 10.12 MB / 0.8408 GB, free: 2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (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)