Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000975/0.0009751, allocations: 179.7 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.689/1.689, allocations: 205 MB / 0.5766 GB, free: 21.08 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 81.25 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8.812 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2289, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01786/0.2468, allocations: 20.35 MB / 0.9166 GB, free: 47.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.2525, allocations: 4.928 MB / 0.9214 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006739/0.2532, allocations: 15.88 kB / 0.9214 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.254, allocations: 218.7 kB / 0.9217 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001487/0.2555, allocations: 0.7425 MB / 0.9224 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.2569, allocations: 0.6488 MB / 0.923 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001206/0.2581, allocations: 1.813 MB / 0.9248 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003766/0.2585, allocations: 367.9 kB / 0.9251 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006279/0.2592, allocations: 0.525 MB / 0.9256 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.2596, allocations: 442.1 kB / 0.9261 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.2596, allocations: 20 kB / 0.9261 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008042/0.2605, allocations: 0.5964 MB / 0.9267 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.844e-05/0.2606, allocations: 107.5 kB / 0.9268 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.2608, allocations: 270.4 kB / 0.927 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007299/0.2615, allocations: 0.8137 MB / 0.9278 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2615, allocations: 0 / 0.9278 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2615, allocations: 0 / 0.9278 GB, free: 36.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.2615, allocations: 0 / 0.9278 GB, free: 36.25 MB / 0.6042 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.00115/0.2627, allocations: 0.8409 MB / 0.9286 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.2627, allocations: 8.031 kB / 0.9287 GB, free: 35.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.2628, allocations: 64.19 kB / 0.9287 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.2633, allocations: 447.5 kB / 0.9291 GB, free: 34.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.2633, allocations: 24.66 kB / 0.9292 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.2634, allocations: 36 kB / 0.9292 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.2639, allocations: 318 kB / 0.9295 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2639, allocations: 0 / 0.9295 GB, free: 34.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.264, allocations: 16 kB / 0.9295 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.264, allocations: 4 kB / 0.9295 GB, free: 34.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.2645, allocations: 282.4 kB / 0.9298 GB, free: 34.14 MB / 0.6042 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.001679/0.2662, allocations: 1.364 MB / 0.9311 GB, free: 32.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004227/0.2667, allocations: 268.6 kB / 0.9314 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.2669, allocations: 149 kB / 0.9315 GB, free: 32.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.2672, allocations: 0.4908 MB / 0.932 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.2672, allocations: 38.48 kB / 0.932 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.472e-06/0.2673, allocations: 4 kB / 0.932 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25): time 0.001476/0.2687, allocations: 0.599 MB / 0.9326 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.2688, allocations: 59.41 kB / 0.9327 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.2691, allocations: 466.1 kB / 0.9331 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.2692, allocations: 33.7 kB / 0.9332 GB, free: 30.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.2693, allocations: 244.5 kB / 0.9334 GB, free: 30.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.2693, allocations: 82.77 kB / 0.9335 GB, free: 30.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.2694, allocations: 37.69 kB / 0.9335 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.2695, allocations: 354.8 kB / 0.9338 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.2697, allocations: 131.7 kB / 0.934 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/0.2701, allocations: 196.8 kB / 0.9342 GB, free: 29.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.2706, allocations: 290.4 kB / 0.9344 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2706, allocations: 0 / 0.9344 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001309/0.2719, allocations: 0.5088 MB / 0.9349 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.114e-05/0.272, allocations: 106.7 kB / 0.935 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.272, allocations: 7.938 kB / 0.935 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003242/0.2723, allocations: 52.81 kB / 0.9351 GB, free: 28.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.2726, allocations: 71.89 kB / 0.9352 GB, free: 28.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002962/0.273, allocations: 0.5678 MB / 0.9357 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/0.2734, allocations: 71.66 kB / 0.9358 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.2735, allocations: 12.06 kB / 0.9358 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-06/0.2735, allocations: 4 kB / 0.9358 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006085/0.2741, allocations: 331.8 kB / 0.9361 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-06/0.2741, allocations: 0 / 0.9361 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.2741, allocations: 0 / 0.9361 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2745, allocations: 87.81 kB / 0.9362 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.2745, allocations: 4 kB / 0.9362 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000377/0.2749, allocations: 67.64 kB / 0.9363 GB, free: 27.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2749, allocations: 11.98 kB / 0.9363 GB, free: 27.09 MB / 0.6042 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.0001594/0.2751, allocations: 253 kB / 0.9365 GB, free: 26.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.982e-05/0.2751, allocations: 43.44 kB / 0.9366 GB, free: 26.79 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007992/0.2759, allocations: 447.9 kB / 0.937 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.276, allocations: 3.984 kB / 0.937 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.276, allocations: 0 / 0.937 GB, free: 26.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2761, allocations: 148.4 kB / 0.9371 GB, free: 26.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.444e-05/0.2762, allocations: 11.94 kB / 0.9371 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.2765, allocations: 43.95 kB / 0.9372 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.2766, allocations: 20.2 kB / 0.9372 GB, free: 26.1 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000907/0.2775, allocations: 486 kB / 0.9377 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009248/0.2784, allocations: 0.7088 MB / 0.9384 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002584/0.2787, allocations: 152.6 kB / 0.9385 GB, free: 24.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002586/0.2789, allocations: 322.9 kB / 0.9388 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of Backend: time 5.41e-07/0.2789, allocations: 0 / 0.9388 GB, free: 24.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.2805, allocations: 0.6255 MB / 0.9394 GB, free: 23.81 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001938/0.2824, allocations: 1.585 MB / 0.941 GB, free: 22.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.01488/0.2973, allocations: 11.15 MB / 0.9519 GB, free: 11.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)