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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.01023/0.01023, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.643/1.643, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.601/1.601, allocations: 252 MB / 0.5105 GB, free: 4.617 MB / 414.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.0006416/0.0006419, allocations: 12 kB / 0.6249 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5745, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02462/0.5992, allocations: 20.1 MB / 0.7483 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007865/0.6071, allocations: 4.862 MB / 0.7531 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008808/0.608, allocations: 15.88 kB / 0.7531 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.609, allocations: 222.6 kB / 0.7533 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.6117, allocations: 0.7416 MB / 0.754 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002262/0.614, allocations: 0.6485 MB / 0.7547 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002739/0.6167, allocations: 1.801 MB / 0.7564 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006235/0.6173, allocations: 376.6 kB / 0.7568 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.6185, allocations: 0.5173 MB / 0.7573 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.6192, allocations: 442.1 kB / 0.7577 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.833e-05/0.6192, allocations: 20 kB / 0.7577 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.6206, allocations: 0.6042 MB / 0.7583 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.6208, allocations: 107.4 kB / 0.7584 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.6211, allocations: 296.2 kB / 0.7587 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.6222, allocations: 0.802 MB / 0.7595 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6223, allocations: 0 / 0.7595 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6223, allocations: 3.938 kB / 0.7595 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.6223, allocations: 0 / 0.7595 GB, free: 11.63 MB / 0.5762 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.001585/0.6239, allocations: 0.8294 MB / 0.7603 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.6239, allocations: 8.031 kB / 0.7603 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.6241, allocations: 64.19 kB / 0.7604 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.6247, allocations: 455.2 kB / 0.7608 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.6247, allocations: 24.66 kB / 0.7608 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/0.6248, allocations: 39.94 kB / 0.7609 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.6255, allocations: 318 kB / 0.7612 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.6256, allocations: 4 kB / 0.7612 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.6256, allocations: 8 kB / 0.7612 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.6256, allocations: 8 kB / 0.7612 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.6263, allocations: 286.4 kB / 0.7615 GB, free: 9.516 MB / 0.5762 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.002207/0.6285, allocations: 1.36 MB / 0.7628 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.6291, allocations: 266.5 kB / 0.7631 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.6294, allocations: 144.8 kB / 0.7632 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005024/0.6299, allocations: 0.4986 MB / 0.7637 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.63, allocations: 34.56 kB / 0.7637 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.63, allocations: 0 / 0.7637 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001843/0.6318, allocations: 0.6012 MB / 0.7643 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.6319, allocations: 55.41 kB / 0.7643 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005279/0.6324, allocations: 470.1 kB / 0.7648 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.6325, allocations: 33.64 kB / 0.7648 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.6327, allocations: 248.5 kB / 0.7651 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.018e-05/0.6328, allocations: 90.69 kB / 0.7652 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.6328, allocations: 29.7 kB / 0.7652 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.633, allocations: 358.8 kB / 0.7655 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.6334, allocations: 131.7 kB / 0.7656 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.6337, allocations: 196.8 kB / 0.7658 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000639/0.6344, allocations: 290.4 kB / 0.7661 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6344, allocations: 0 / 0.7661 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001577/0.636, allocations: 0.5155 MB / 0.7666 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.031e-05/0.6361, allocations: 108.4 kB / 0.7667 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6361, allocations: 80 / 0.7667 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004025/0.6365, allocations: 56.8 kB / 0.7668 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.6369, allocations: 75.89 kB / 0.7668 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000493/0.6374, allocations: 0.5679 MB / 0.7674 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.638, allocations: 63.8 kB / 0.7675 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.638, allocations: 12 kB / 0.7675 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.638, allocations: 7.984 kB / 0.7675 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007472/0.6388, allocations: 319.7 kB / 0.7678 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-06/0.6388, allocations: 0 / 0.7678 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.6388, allocations: 4 kB / 0.7678 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003732/0.6392, allocations: 87.88 kB / 0.7679 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.6392, allocations: 0 / 0.7679 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.6397, allocations: 75.58 kB / 0.7679 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.6397, allocations: 11.98 kB / 0.768 GB, free: 2.461 MB / 0.5762 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.0002764/0.64, allocations: 241 kB / 0.7682 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.6401, allocations: 47.44 kB / 0.7682 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.6411, allocations: 448.5 kB / 0.7687 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.6411, allocations: 0 / 0.7687 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6411, allocations: 4 kB / 0.7687 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.6411, allocations: 3.938 kB / 0.7687 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.6427, allocations: 0.9645 MB / 0.7696 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6428, allocations: 0 / 0.7696 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.643, allocations: 59.89 kB / 0.7697 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002001/0.6432, allocations: 52.88 kB / 0.7697 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.6432, allocations: 8 kB / 0.7697 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004038/0.6436, allocations: 0.5562 MB / 0.7703 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6437, allocations: 4.031 kB / 0.7703 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.6445, allocations: 0.5151 MB / 0.7708 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.6447, allocations: 156.7 kB / 0.7709 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/0.6448, allocations: 8 kB / 0.7709 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.6451, allocations: 51.8 kB / 0.771 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.6452, allocations: 19.83 kB / 0.771 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.6453, allocations: 23.92 kB / 0.771 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003725/0.6457, allocations: 318.9 kB / 0.7713 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6457, allocations: 3.938 kB / 0.7713 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008136/0.6465, allocations: 251.5 kB / 0.7716 GB, free: 14.59 MB / 0.5919 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.0005828/0.6471, allocations: 259.4 kB / 0.7718 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.6484, allocations: 492 kB / 0.7723 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6484, allocations: 0 / 0.7723 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.6488, allocations: 172.1 kB / 0.7725 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.6504, allocations: 254.6 kB / 0.7727 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.652, allocations: 1.018 MB / 0.7737 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.6525, allocations: 0.8552 MB / 0.7745 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004808/0.653, allocations: 120.2 kB / 0.7746 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.6531, allocations: 47.42 kB / 0.7747 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/0.6531, allocations: 0 / 0.7747 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.01911/0.6722, allocations: 9.875 MB / 0.7843 GB, free: 1.637 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: