Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 304.3 MB, free: 8.078 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009835/0.0009838, allocations: 180.5 kB / 372.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 0.6316 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007091/0.0007093, allocations: 96.58 kB / 0.745 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004272/0.0004272, allocations: 16.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2575, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01513/0.2727, allocations: 19.05 MB / 0.9993 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00579/0.2786, allocations: 4.621 MB / 1.004 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.2794, allocations: 15.88 kB / 1.004 GB, free: 3.586 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007604/0.2802, allocations: 186.7 kB / 1.004 GB, free: 3.402 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.2821, allocations: 0.7035 MB / 1.005 GB, free: 2.695 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.2838, allocations: 0.6016 MB / 1.005 GB, free: 2.102 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.2852, allocations: 1.559 MB / 1.007 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004414/0.2856, allocations: 368.3 kB / 1.007 GB, free: 184 kB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007714/0.2864, allocations: 0.5135 MB / 1.008 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005477/0.287, allocations: 422.3 kB / 1.008 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.287, allocations: 20 kB / 1.008 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.2882, allocations: 0.5808 MB / 1.009 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.2884, allocations: 103.5 kB / 1.009 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.2886, allocations: 276.4 kB / 1.009 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.2893, allocations: 0.5806 MB / 1.01 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2894, allocations: 0 / 1.01 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.524e-06/0.2894, allocations: 4 kB / 1.01 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2894, allocations: 0 / 1.01 GB, free: 13.68 MB / 0.6355 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.001441/0.2908, allocations: 0.8332 MB / 1.01 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2909, allocations: 8.031 kB / 1.01 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.291, allocations: 64.19 kB / 1.01 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.2916, allocations: 455.1 kB / 1.011 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.2917, allocations: 28.66 kB / 1.011 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.2917, allocations: 36 kB / 1.011 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/0.2924, allocations: 318 kB / 1.011 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2924, allocations: 0 / 1.011 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.613e-05/0.2925, allocations: 12 kB / 1.011 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.2925, allocations: 4 kB / 1.011 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/0.2932, allocations: 282.4 kB / 1.012 GB, free: 11.57 MB / 0.6355 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.002164/0.2954, allocations: 1.356 MB / 1.013 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.2959, allocations: 266.9 kB / 1.013 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.2962, allocations: 148.7 kB / 1.013 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.2967, allocations: 0.4986 MB / 1.014 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.2967, allocations: 34.56 kB / 1.014 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.873e-06/0.2967, allocations: 0 / 1.014 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001715/0.2984, allocations: 0.5978 MB / 1.014 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2985, allocations: 51.41 kB / 1.014 GB, free: 8.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.299, allocations: 462.1 kB / 1.015 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.299, allocations: 37.7 kB / 1.015 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.2992, allocations: 240.4 kB / 1.015 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.125e-05/0.2993, allocations: 90.73 kB / 1.015 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/0.2993, allocations: 4 kB / 1.015 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2995, allocations: 355 kB / 1.016 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.2998, allocations: 131.7 kB / 1.016 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.3001, allocations: 192.7 kB / 1.016 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005895/0.3007, allocations: 284.1 kB / 1.016 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3007, allocations: 0 / 1.016 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009538/0.3017, allocations: 432.6 kB / 1.017 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.255e-05/0.3018, allocations: 110.7 kB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3018, allocations: 3.984 kB / 1.017 GB, free: 5.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003541/0.3022, allocations: 52.81 kB / 1.017 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3026, allocations: 75.89 kB / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004766/0.303, allocations: 0.5718 MB / 1.017 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.3036, allocations: 69.61 kB / 1.017 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.3036, allocations: 19.98 kB / 1.017 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/0.3036, allocations: 4 kB / 1.017 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007/0.3043, allocations: 311.7 kB / 1.018 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3044, allocations: 4 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.3044, allocations: 0 / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.3048, allocations: 87.88 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.3048, allocations: 0 / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.3052, allocations: 63.73 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.3052, allocations: 19.98 kB / 1.018 GB, free: 4.672 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.3055, allocations: 245.1 kB / 1.018 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.091e-05/0.3056, allocations: 51.34 kB / 1.018 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009319/0.3066, allocations: 432.2 kB / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3066, allocations: 0 / 1.019 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3066, allocations: 3.984 kB / 1.019 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.3068, allocations: 160.3 kB / 1.019 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.3068, allocations: 7.938 kB / 1.019 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.3072, allocations: 47.89 kB / 1.019 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.3073, allocations: 16.22 kB / 1.019 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001032/0.3083, allocations: 487.3 kB / 1.019 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001136/0.3094, allocations: 0.7049 MB / 1.02 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002939/0.3098, allocations: 147.9 kB / 1.02 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003518/0.3101, allocations: 326.8 kB / 1.02 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of Backend: time 9.72e-07/0.3101, allocations: 4 kB / 1.02 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.3119, allocations: 0.626 MB / 1.021 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002494/0.3145, allocations: 1.552 MB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.02089/0.3354, allocations: 11.01 MB / 1.033 GB, free: 4.914 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)