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.001134/0.001134, allocations: 99.77 kB / 16.29 MB, free: 6.121 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.001062/0.001062, allocations: 181 kB / 17.22 MB, free: 5.734 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.463/1.463, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.896/1.896, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001419/0.001419, allocations: 64.47 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.316, allocations: 114.6 MB / 0.7841 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.6094/0.9254, allocations: 20.74 MB / 0.8043 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006899/0.9324, allocations: 4.918 MB / 0.8091 GB, free: 34.44 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.9335, allocations: 21.5 kB / 0.8091 GB, free: 34.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.9346, allocations: 272.4 kB / 0.8094 GB, free: 34.25 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.9375, allocations: 0.8172 MB / 0.8102 GB, free: 33.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.9398, allocations: 0.7065 MB / 0.8109 GB, free: 33.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.9429, allocations: 1.39 MB / 0.8122 GB, free: 32.81 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.944, allocations: 436.3 kB / 0.8127 GB, free: 32.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.946, allocations: 0.5733 MB / 0.8132 GB, free: 32.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009417/0.9469, allocations: 444 kB / 0.8136 GB, free: 32.22 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.947, allocations: 41.72 kB / 0.8137 GB, free: 32.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.9489, allocations: 0.6313 MB / 0.8143 GB, free: 32.01 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.9491, allocations: 127.8 kB / 0.8144 GB, free: 31.93 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.9495, allocations: 286.4 kB / 0.8147 GB, free: 31.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.9512, allocations: 0.8556 MB / 0.8155 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9512, allocations: 0 / 0.8155 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9512, allocations: 0 / 0.8155 GB, free: 31.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.9512, allocations: 0 / 0.8155 GB, free: 31.44 MB / 0.6544 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.001786/0.953, allocations: 0.9262 MB / 0.8164 GB, free: 30.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.9531, allocations: 9.469 kB / 0.8164 GB, free: 30.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.9532, allocations: 71.62 kB / 0.8165 GB, free: 30.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.9539, allocations: 447.1 kB / 0.8169 GB, free: 30.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.9539, allocations: 30.62 kB / 0.817 GB, free: 30.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.954, allocations: 36.69 kB / 0.817 GB, free: 30.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.9547, allocations: 308 kB / 0.8173 GB, free: 30.24 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.9548, allocations: 0.5156 kB / 0.8173 GB, free: 30.24 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.9548, allocations: 11.36 kB / 0.8173 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.9548, allocations: 8.219 kB / 0.8173 GB, free: 30.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006673/0.9555, allocations: 263.1 kB / 0.8176 GB, free: 30.16 MB / 0.6544 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.00236/0.9579, allocations: 1.332 MB / 0.8189 GB, free: 29.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/0.9585, allocations: 264.4 kB / 0.8191 GB, free: 29.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/0.9588, allocations: 133.5 kB / 0.8192 GB, free: 29.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.9593, allocations: 0.4973 MB / 0.8197 GB, free: 28.54 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.9593, allocations: 41.67 kB / 0.8198 GB, free: 28.49 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.124e-06/0.9593, allocations: 0 / 0.8198 GB, free: 28.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.00181/0.9611, allocations: 0.5563 MB / 0.8203 GB, free: 28.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.9612, allocations: 57.5 kB / 0.8204 GB, free: 28.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.9617, allocations: 471.7 kB / 0.8208 GB, free: 27.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/0.9617, allocations: 32.39 kB / 0.8209 GB, free: 27.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.9619, allocations: 242.7 kB / 0.8211 GB, free: 27.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.962, allocations: 84.16 kB / 0.8212 GB, free: 27.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.9621, allocations: 82.84 kB / 0.8212 GB, free: 27.6 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.953e-05/0.9622, allocations: 361.7 kB / 0.8216 GB, free: 27.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.9625, allocations: 125.8 kB / 0.8217 GB, free: 27.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003467/0.9629, allocations: 181.2 kB / 0.8219 GB, free: 27.13 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005792/0.9635, allocations: 270.6 kB / 0.8221 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9635, allocations: 1.625 kB / 0.8221 GB, free: 27.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001521/0.965, allocations: 495.9 kB / 0.8226 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.965, allocations: 6.188 kB / 0.8226 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.965, allocations: 2.656 kB / 0.8226 GB, free: 26.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003756/0.9654, allocations: 55.28 kB / 0.8227 GB, free: 26.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.9658, allocations: 74.72 kB / 0.8227 GB, free: 26.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003936/0.9662, allocations: 0.5612 MB / 0.8233 GB, free: 26.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.9667, allocations: 54.16 kB / 0.8233 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.9668, allocations: 16.2 kB / 0.8234 GB, free: 26.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000441/0.9672, allocations: 240.3 kB / 0.8236 GB, free: 26.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003527/0.9676, allocations: 180.5 kB / 0.8238 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005608/0.9682, allocations: 257.6 kB / 0.824 GB, free: 25.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.9682, allocations: 3.703 kB / 0.824 GB, free: 25.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007924/0.969, allocations: 371 kB / 0.8244 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.969, allocations: 7.984 kB / 0.8244 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.969, allocations: 0 / 0.8244 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-06/0.969, allocations: 2.438 kB / 0.8244 GB, free: 25.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003991/0.9694, allocations: 89.31 kB / 0.8245 GB, free: 25.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.9694, allocations: 2.406 kB / 0.8245 GB, free: 25.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.9699, allocations: 43.53 kB / 0.8245 GB, free: 25.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.9699, allocations: 16.06 kB / 0.8245 GB, free: 25.76 MB / 0.6544 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.0001544/0.9701, allocations: 202.2 kB / 0.8247 GB, free: 25.56 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.9702, allocations: 46.12 kB / 0.8248 GB, free: 25.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.9712, allocations: 422.8 kB / 0.8252 GB, free: 25.36 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.9713, allocations: 7.562 kB / 0.8252 GB, free: 25.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9713, allocations: 0 / 0.8252 GB, free: 25.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.9713, allocations: 6.5 kB / 0.8252 GB, free: 25.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.973, allocations: 0.9495 MB / 0.8261 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.973, allocations: 2.688 kB / 0.8261 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.9733, allocations: 47.5 kB / 0.8261 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.9735, allocations: 45.62 kB / 0.8262 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.9735, allocations: 13.8 kB / 0.8262 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002875/0.9738, allocations: 0.5529 MB / 0.8267 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.9739, allocations: 6.703 kB / 0.8268 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.9747, allocations: 493.6 kB / 0.8272 GB, free: 23.94 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/0.9749, allocations: 151.4 kB / 0.8274 GB, free: 23.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.676e-05/0.975, allocations: 7.812 kB / 0.8274 GB, free: 23.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.9753, allocations: 28.72 kB / 0.8274 GB, free: 23.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.9754, allocations: 30.2 kB / 0.8274 GB, free: 23.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.9755, allocations: 12.16 kB / 0.8274 GB, free: 23.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004935/0.976, allocations: 321.1 kB / 0.8277 GB, free: 23.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.976, allocations: 0 / 0.8277 GB, free: 23.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001276/0.9773, allocations: 254.4 kB / 0.828 GB, free: 23.57 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.0006702/0.978, allocations: 251.5 kB / 0.8282 GB, free: 23.44 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.9793, allocations: 464.1 kB / 0.8287 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.9793, allocations: 1.094 kB / 0.8287 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00043/0.9797, allocations: 168.5 kB / 0.8288 GB, free: 23.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.9808, allocations: 226.5 kB / 0.829 GB, free: 23.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.9824, allocations: 0.8143 MB / 0.8298 GB, free: 22.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.9829, allocations: 0.8663 MB / 0.8307 GB, free: 22.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004879/0.9834, allocations: 121.4 kB / 0.8308 GB, free: 22.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.9835, allocations: 39.58 kB / 0.8308 GB, free: 22.01 MB / 0.6544 GB Notification: Performance of SimCode: time 1.263e-06/0.9835, allocations: 1.125 kB / 0.8308 GB, free: 22.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.02387/1.007, allocations: 10.12 MB / 0.8407 GB, free: 20.57 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)