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.001437/0.001437, allocations: 102.7 kB / 16.36 MB, free: 6.305 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.001632/0.001632, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.404/1.404, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.771/1.771, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001433/0.001433, allocations: 67.91 kB / 0.6729 GB, free: 5.777 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2527, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.4316/0.6844, allocations: 20.75 MB / 0.805 GB, free: 37.69 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00676/0.6912, allocations: 4.92 MB / 0.8098 GB, free: 34.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009686/0.6922, allocations: 18.16 kB / 0.8099 GB, free: 34.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000942/0.6933, allocations: 276.9 kB / 0.8101 GB, free: 34.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.6959, allocations: 0.808 MB / 0.8109 GB, free: 33.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/0.6982, allocations: 0.7218 MB / 0.8116 GB, free: 33.2 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00262/0.7009, allocations: 1.389 MB / 0.813 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008564/0.7017, allocations: 427 kB / 0.8134 GB, free: 32.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.7032, allocations: 0.5766 MB / 0.8139 GB, free: 32.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008065/0.704, allocations: 442.5 kB / 0.8144 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.279e-05/0.7041, allocations: 42.38 kB / 0.8144 GB, free: 31.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.7058, allocations: 0.6344 MB / 0.815 GB, free: 31.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.706, allocations: 126.5 kB / 0.8151 GB, free: 31.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003405/0.7064, allocations: 290.9 kB / 0.8154 GB, free: 31.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001574/0.7079, allocations: 0.8546 MB / 0.8163 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.708, allocations: 1.156 kB / 0.8163 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.708, allocations: 0 / 0.8163 GB, free: 31.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.708, allocations: 0 / 0.8163 GB, free: 31.21 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.001693/0.7097, allocations: 0.9298 MB / 0.8172 GB, free: 30.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.7097, allocations: 9.875 kB / 0.8172 GB, free: 30.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.7099, allocations: 64.34 kB / 0.8172 GB, free: 30.49 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.7107, allocations: 474.4 kB / 0.8177 GB, free: 30.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.7107, allocations: 27.38 kB / 0.8177 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.135e-05/0.7108, allocations: 31.31 kB / 0.8177 GB, free: 30.13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.7115, allocations: 310.7 kB / 0.818 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.7116, allocations: 0 / 0.818 GB, free: 30.01 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.7116, allocations: 14.88 kB / 0.8181 GB, free: 30 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.7116, allocations: 6.719 kB / 0.8181 GB, free: 30 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000691/0.7123, allocations: 259.4 kB / 0.8183 GB, free: 29.93 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.002281/0.7146, allocations: 1.341 MB / 0.8196 GB, free: 29.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.7152, allocations: 253.4 kB / 0.8199 GB, free: 28.92 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.7155, allocations: 139.1 kB / 0.82 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003354/0.7159, allocations: 0.4942 MB / 0.8205 GB, free: 28.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.7159, allocations: 32.8 kB / 0.8205 GB, free: 28.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.7159, allocations: 0 / 0.8205 GB, free: 28.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001838/0.7177, allocations: 0.5685 MB / 0.8211 GB, free: 28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.7178, allocations: 56.89 kB / 0.8211 GB, free: 27.94 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005533/0.7183, allocations: 463.2 kB / 0.8216 GB, free: 27.72 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.7184, allocations: 36.3 kB / 0.8216 GB, free: 27.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.7186, allocations: 242.4 kB / 0.8218 GB, free: 27.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.7186, allocations: 84.23 kB / 0.8219 GB, free: 27.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.7188, allocations: 83.05 kB / 0.822 GB, free: 27.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.7189, allocations: 361.1 kB / 0.8223 GB, free: 27.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.7192, allocations: 117.8 kB / 0.8224 GB, free: 27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.7196, allocations: 182 kB / 0.8226 GB, free: 26.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000617/0.7202, allocations: 273.5 kB / 0.8229 GB, free: 26.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7202, allocations: 0 / 0.8229 GB, free: 26.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00158/0.7218, allocations: 486.8 kB / 0.8233 GB, free: 26.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.7218, allocations: 9.969 kB / 0.8234 GB, free: 26.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.7219, allocations: 1.062 kB / 0.8234 GB, free: 26.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.7222, allocations: 57.8 kB / 0.8234 GB, free: 26.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.7226, allocations: 63.98 kB / 0.8235 GB, free: 26.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000353/0.723, allocations: 0.5726 MB / 0.824 GB, free: 26.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005039/0.7235, allocations: 49.23 kB / 0.8241 GB, free: 26.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.7236, allocations: 16.84 kB / 0.8241 GB, free: 26.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004615/0.724, allocations: 239.7 kB / 0.8243 GB, free: 25.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003435/0.7244, allocations: 185.6 kB / 0.8245 GB, free: 25.82 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005822/0.725, allocations: 261.5 kB / 0.8247 GB, free: 25.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.725, allocations: 0 / 0.8247 GB, free: 25.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.00083/0.7258, allocations: 375.5 kB / 0.8251 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.7258, allocations: 5.562 kB / 0.8251 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.7258, allocations: 2.047 kB / 0.8251 GB, free: 25.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-06/0.7259, allocations: 5.406 kB / 0.8251 GB, free: 25.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.7263, allocations: 81.3 kB / 0.8252 GB, free: 25.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7263, allocations: 2.016 kB / 0.8252 GB, free: 25.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00049/0.7268, allocations: 52.16 kB / 0.8252 GB, free: 25.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.7268, allocations: 13.59 kB / 0.8253 GB, free: 25.54 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.0001392/0.727, allocations: 203.5 kB / 0.8255 GB, free: 25.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.7271, allocations: 45.69 kB / 0.8255 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.7281, allocations: 424.2 kB / 0.8259 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.7281, allocations: 4.375 kB / 0.8259 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7281, allocations: 4.562 kB / 0.8259 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.7281, allocations: 3.234 kB / 0.8259 GB, free: 25.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.7297, allocations: 0.9504 MB / 0.8268 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.7298, allocations: 3.688 kB / 0.8268 GB, free: 24.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.73, allocations: 49.17 kB / 0.8269 GB, free: 24.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/0.7302, allocations: 44.69 kB / 0.8269 GB, free: 24.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.7302, allocations: 9.562 kB / 0.8269 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/0.7305, allocations: 0.5511 MB / 0.8275 GB, free: 24.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.7305, allocations: 13.89 kB / 0.8275 GB, free: 24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/0.7314, allocations: 491.1 kB / 0.828 GB, free: 23.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.7316, allocations: 151.6 kB / 0.8281 GB, free: 23.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.7317, allocations: 7.453 kB / 0.8281 GB, free: 23.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.732, allocations: 24.42 kB / 0.8281 GB, free: 23.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/0.7321, allocations: 28.59 kB / 0.8282 GB, free: 23.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.7321, allocations: 11.53 kB / 0.8282 GB, free: 23.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003965/0.7325, allocations: 327.2 kB / 0.8285 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7325, allocations: 0 / 0.8285 GB, free: 23.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009401/0.7335, allocations: 245.9 kB / 0.8287 GB, free: 23.36 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.0005579/0.7341, allocations: 251 kB / 0.829 GB, free: 23.22 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001355/0.7354, allocations: 479.5 kB / 0.8294 GB, free: 23.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7354, allocations: 0 / 0.8294 GB, free: 23.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.7359, allocations: 169.8 kB / 0.8296 GB, free: 23.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.7372, allocations: 220.2 kB / 0.8298 GB, free: 23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.7389, allocations: 0.8496 MB / 0.8306 GB, free: 22.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.7393, allocations: 0.8543 MB / 0.8315 GB, free: 21.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.7394, allocations: 45.58 kB / 0.8315 GB, free: 21.78 MB / 0.6544 GB Notification: Performance of SimCode: time 1.543e-06/0.7394, allocations: 0 / 0.8315 GB, free: 21.78 MB / 0.6544 GB Notification: Performance of Templates: time 0.02002/0.7594, allocations: 10.13 MB / 0.8414 GB, free: 20.02 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)