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.001524/0.001524, allocations: 106.3 kB / 15.99 MB, free: 5.891 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.001793/0.001793, allocations: 189.5 kB / 16.91 MB, free: 5.746 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.487/1.487, allocations: 205.1 MB / 222.8 MB, free: 4.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.75/1.75, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001354/0.001354, allocations: 70.5 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2574, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02103/0.2785, allocations: 20.61 MB / 0.8036 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007018/0.2856, allocations: 4.912 MB / 0.8084 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008554/0.2865, allocations: 15.88 kB / 0.8085 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008803/0.2874, allocations: 234.7 kB / 0.8087 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.2897, allocations: 0.7543 MB / 0.8094 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.2915, allocations: 0.6353 MB / 0.81 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00176/0.2933, allocations: 1.391 MB / 0.8114 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005941/0.2939, allocations: 424.7 kB / 0.8118 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.2949, allocations: 0.5797 MB / 0.8124 GB, free: 260 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.2955, allocations: 462.1 kB / 0.8128 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.2956, allocations: 36 kB / 0.8128 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.2967, allocations: 0.6433 MB / 0.8135 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2969, allocations: 123.5 kB / 0.8136 GB, free: 15 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.2972, allocations: 290.4 kB / 0.8139 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008527/0.298, allocations: 0.6042 MB / 0.8145 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.298, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2981, allocations: 0 / 0.8145 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2981, allocations: 4 kB / 0.8145 GB, free: 14.11 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.00155/0.2996, allocations: 0.9265 MB / 0.8154 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2997, allocations: 8.031 kB / 0.8154 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2998, allocations: 64.19 kB / 0.8154 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005927/0.3004, allocations: 455.3 kB / 0.8159 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.3005, allocations: 28.66 kB / 0.8159 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.3005, allocations: 40 kB / 0.8159 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.3012, allocations: 302 kB / 0.8162 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3012, allocations: 0 / 0.8162 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.221e-05/0.3012, allocations: 12 kB / 0.8162 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3012, allocations: 4 kB / 0.8162 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.3018, allocations: 266.4 kB / 0.8165 GB, free: 11.93 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.002197/0.304, allocations: 1.337 MB / 0.8178 GB, free: 10.47 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.3045, allocations: 259 kB / 0.818 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.3048, allocations: 140.8 kB / 0.8182 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004945/0.3053, allocations: 0.4947 MB / 0.8187 GB, free: 9.465 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3054, allocations: 30.56 kB / 0.8187 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 1.913e-06/0.3054, allocations: 0 / 0.8187 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001753/0.3071, allocations: 0.5721 MB / 0.8192 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3072, allocations: 55.41 kB / 0.8193 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.3077, allocations: 466.1 kB / 0.8197 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.946e-05/0.3078, allocations: 37.7 kB / 0.8198 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3079, allocations: 236.4 kB / 0.82 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.308, allocations: 86.75 kB / 0.8201 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3082, allocations: 81.67 kB / 0.8202 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3083, allocations: 358.8 kB / 0.8205 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.3086, allocations: 116.8 kB / 0.8206 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003666/0.309, allocations: 184.8 kB / 0.8208 GB, free: 7.172 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.3096, allocations: 282 kB / 0.8211 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3096, allocations: 0 / 0.8211 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00153/0.3111, allocations: 497.4 kB / 0.8215 GB, free: 6.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3112, allocations: 8 kB / 0.8215 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3112, allocations: 4 kB / 0.8215 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/0.3116, allocations: 60.81 kB / 0.8216 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3119, allocations: 67.95 kB / 0.8217 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004258/0.3124, allocations: 0.564 MB / 0.8222 GB, free: 5.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000506/0.3129, allocations: 63.62 kB / 0.8223 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.3129, allocations: 8 kB / 0.8223 GB, free: 5.594 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004172/0.3134, allocations: 251.8 kB / 0.8225 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003263/0.3137, allocations: 169 kB / 0.8227 GB, free: 5.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005649/0.3143, allocations: 269.5 kB / 0.8229 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.312e-06/0.3143, allocations: 0 / 0.8229 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007453/0.315, allocations: 364.8 kB / 0.8233 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.3151, allocations: 4 kB / 0.8233 GB, free: 4.523 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3151, allocations: 4 kB / 0.8233 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.827e-06/0.3151, allocations: 0 / 0.8233 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.3155, allocations: 87.81 kB / 0.8234 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3155, allocations: 0 / 0.8234 GB, free: 4.434 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.3159, allocations: 59.78 kB / 0.8234 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.316, allocations: 16 kB / 0.8235 GB, free: 4.359 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.0001831/0.3162, allocations: 200.1 kB / 0.8236 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.3163, allocations: 47.34 kB / 0.8237 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000953/0.3172, allocations: 428 kB / 0.8241 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3173, allocations: 7.984 kB / 0.8241 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3173, allocations: 0 / 0.8241 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3173, allocations: 0 / 0.8241 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.3189, allocations: 0.9504 MB / 0.825 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.3189, allocations: 4 kB / 0.825 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.3191, allocations: 56.02 kB / 0.8251 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.3193, allocations: 44.83 kB / 0.8251 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.3193, allocations: 8 kB / 0.8251 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003714/0.3197, allocations: 0.5524 MB / 0.8257 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3197, allocations: 8.062 kB / 0.8257 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007957/0.3205, allocations: 496.4 kB / 0.8262 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.3207, allocations: 156.4 kB / 0.8263 GB, free: 1.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.3208, allocations: 8 kB / 0.8263 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/0.3212, allocations: 39.86 kB / 0.8264 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.3213, allocations: 31.84 kB / 0.8264 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.3213, allocations: 8 kB / 0.8264 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003333/0.3216, allocations: 326.9 kB / 0.8267 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3216, allocations: 0 / 0.8267 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008069/0.3224, allocations: 251.5 kB / 0.827 GB, free: 0.6133 MB / 0.6387 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.0005583/0.323, allocations: 252.9 kB / 0.8272 GB, free: 372 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.3243, allocations: 483.4 kB / 0.8277 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3243, allocations: 0 / 0.8277 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.3247, allocations: 171.8 kB / 0.8278 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3259, allocations: 224.5 kB / 0.828 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3276, allocations: 1.03 MB / 0.829 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.328, allocations: 0.851 MB / 0.8299 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3281, allocations: 47.42 kB / 0.8299 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of SimCode: time 5.01e-07/0.3281, allocations: 0 / 0.8299 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.01366/0.3418, allocations: 10.11 MB / 0.8398 GB, free: 3.492 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)