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.001343/0.001343, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001182/0.001181, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.564/1.564, allocations: 205.1 MB / 222 MB, free: 4.656 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.84/1.84, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001324/0.001323, allocations: 71.25 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2875, allocations: 114.6 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02139/0.3089, allocations: 20.66 MB / 0.8028 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007551/0.3165, allocations: 4.955 MB / 0.8077 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007897/0.3173, allocations: 19.88 kB / 0.8077 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008684/0.3182, allocations: 214.7 kB / 0.8079 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.3205, allocations: 0.7464 MB / 0.8086 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3226, allocations: 0.6422 MB / 0.8093 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.3244, allocations: 1.813 MB / 0.811 GB, free: 0.8594 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.3249, allocations: 376.1 kB / 0.8114 GB, free: 496 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008303/0.3258, allocations: 0.5251 MB / 0.8119 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005345/0.3263, allocations: 462 kB / 0.8123 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.987e-05/0.3264, allocations: 20 kB / 0.8124 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.3276, allocations: 0.6003 MB / 0.813 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3277, allocations: 111.5 kB / 0.8131 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.328, allocations: 274.5 kB / 0.8133 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.329, allocations: 0.8139 MB / 0.8141 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.329, allocations: 4 kB / 0.8141 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.214e-06/0.329, allocations: 0 / 0.8141 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.3291, allocations: 0 / 0.8141 GB, free: 13.68 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.001703/0.3308, allocations: 0.9265 MB / 0.815 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.3308, allocations: 8.031 kB / 0.815 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.331, allocations: 64.19 kB / 0.8151 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006246/0.3316, allocations: 459.3 kB / 0.8155 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.3317, allocations: 24.66 kB / 0.8156 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.3317, allocations: 36 kB / 0.8156 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.3324, allocations: 310 kB / 0.8159 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3324, allocations: 0 / 0.8159 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3325, allocations: 12 kB / 0.8159 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3325, allocations: 4 kB / 0.8159 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.3331, allocations: 258.4 kB / 0.8161 GB, free: 11.51 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.002211/0.3353, allocations: 1.345 MB / 0.8175 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.3359, allocations: 255.1 kB / 0.8177 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.3362, allocations: 136.8 kB / 0.8178 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004987/0.3367, allocations: 0.5025 MB / 0.8183 GB, free: 9.035 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.3367, allocations: 30.56 kB / 0.8184 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.655e-06/0.3367, allocations: 3.938 kB / 0.8184 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001771/0.3385, allocations: 0.5644 MB / 0.8189 GB, free: 8.402 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3386, allocations: 55.61 kB / 0.819 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.3391, allocations: 462.2 kB / 0.8194 GB, free: 7.875 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.3391, allocations: 37.64 kB / 0.8194 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.3393, allocations: 244.4 kB / 0.8197 GB, free: 7.59 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.3394, allocations: 90.73 kB / 0.8198 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.3395, allocations: 69.69 kB / 0.8198 GB, free: 7.426 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3397, allocations: 362.8 kB / 0.8202 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.34, allocations: 116.8 kB / 0.8203 GB, free: 6.945 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.3403, allocations: 188.8 kB / 0.8205 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.3409, allocations: 272 kB / 0.8207 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3409, allocations: 0 / 0.8207 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001479/0.3424, allocations: 497.2 kB / 0.8212 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3424, allocations: 11.94 kB / 0.8212 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3425, allocations: 0 / 0.8212 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003693/0.3428, allocations: 56.81 kB / 0.8213 GB, free: 5.906 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.3432, allocations: 67.89 kB / 0.8213 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004269/0.3436, allocations: 0.5679 MB / 0.8219 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004768/0.3441, allocations: 59.7 kB / 0.8219 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.3442, allocations: 20.08 kB / 0.822 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003957/0.3446, allocations: 243.8 kB / 0.8222 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003107/0.3449, allocations: 173 kB / 0.8224 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005452/0.3455, allocations: 258.4 kB / 0.8226 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-06/0.3455, allocations: 0 / 0.8226 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007201/0.3462, allocations: 375.9 kB / 0.823 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.3462, allocations: 4 kB / 0.823 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/0.3462, allocations: 4 kB / 0.823 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.3462, allocations: 3.984 kB / 0.823 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.3466, allocations: 83.83 kB / 0.8231 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.3466, allocations: 0 / 0.8231 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.3471, allocations: 59.78 kB / 0.8231 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.3471, allocations: 12 kB / 0.8231 GB, free: 3.941 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.0001324/0.3472, allocations: 200.2 kB / 0.8233 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.3473, allocations: 51.34 kB / 0.8234 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009131/0.3482, allocations: 432.1 kB / 0.8238 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.3483, allocations: 4 kB / 0.8238 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3483, allocations: 0 / 0.8238 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3483, allocations: 0 / 0.8238 GB, free: 3.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3497, allocations: 0.9591 MB / 0.8247 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3497, allocations: 0 / 0.8247 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.35, allocations: 47.91 kB / 0.8248 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/0.3501, allocations: 40.95 kB / 0.8248 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.3502, allocations: 8 kB / 0.8248 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003274/0.3505, allocations: 0.5563 MB / 0.8253 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3505, allocations: 3.938 kB / 0.8254 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.3513, allocations: 496.3 kB / 0.8258 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.3515, allocations: 152.4 kB / 0.826 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.3515, allocations: 4 kB / 0.826 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/0.3519, allocations: 47.86 kB / 0.826 GB, free: 0.8008 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/0.352, allocations: 23.91 kB / 0.826 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.352, allocations: 19.92 kB / 0.8261 GB, free: 0.7578 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003274/0.3523, allocations: 322.8 kB / 0.8264 GB, free: 456 kB / 0.6387 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3523, allocations: 4 kB / 0.8264 GB, free: 452 kB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007246/0.3531, allocations: 255.5 kB / 0.8266 GB, free: 196 kB / 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.0005636/0.3536, allocations: 250 kB / 0.8269 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.3548, allocations: 451.5 kB / 0.8273 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3548, allocations: 4 kB / 0.8273 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.3552, allocations: 171.8 kB / 0.8275 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.3566, allocations: 261.9 kB / 0.8277 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.358, allocations: 1.006 MB / 0.8287 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3584, allocations: 0.8552 MB / 0.8295 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004219/0.3588, allocations: 116.5 kB / 0.8296 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.3589, allocations: 39.44 kB / 0.8297 GB, free: 13 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.3589, allocations: 0 / 0.8297 GB, free: 13 MB / 0.6544 GB Notification: Performance of Templates: time 0.01674/0.3757, allocations: 9.927 MB / 0.8394 GB, free: 3.238 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)