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.01316/0.01316, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002166/0.002167, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.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.522/1.522, allocations: 251.7 MB / 0.5094 GB, free: 428 kB / 430.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.00142/0.00142, allocations: 63.91 kB / 0.7258 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.759/0.7604, allocations: 104.7 MB / 0.828 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02636/0.7868, allocations: 20.75 MB / 0.8483 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007734/0.7946, allocations: 4.897 MB / 0.8531 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009838/0.7956, allocations: 15.88 kB / 0.8531 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.7967, allocations: 286 kB / 0.8534 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.7995, allocations: 0.8512 MB / 0.8542 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.8018, allocations: 0.7194 MB / 0.8549 GB, free: 7.031 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002302/0.8041, allocations: 1.391 MB / 0.8563 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009654/0.8051, allocations: 439.9 kB / 0.8567 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001509/0.8066, allocations: 0.5837 MB / 0.8572 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.8077, allocations: 450.1 kB / 0.8577 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001904/0.8079, allocations: 40 kB / 0.8577 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.8098, allocations: 0.6355 MB / 0.8583 GB, free: 3.504 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.81, allocations: 123.6 kB / 0.8585 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.8106, allocations: 286.5 kB / 0.8587 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.8128, allocations: 0.8589 MB / 0.8596 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.8128, allocations: 0 / 0.8596 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.386e-06/0.8128, allocations: 0 / 0.8596 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.644e-05/0.8129, allocations: 4 kB / 0.8596 GB, free: 2.238 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.00261/0.8155, allocations: 0.9149 MB / 0.8605 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.285e-05/0.8156, allocations: 8.031 kB / 0.8605 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.8159, allocations: 64.19 kB / 0.8605 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.8175, allocations: 483.2 kB / 0.861 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.118e-05/0.8176, allocations: 24.66 kB / 0.861 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.8177, allocations: 36 kB / 0.861 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.8189, allocations: 310 kB / 0.8613 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.8189, allocations: 0 / 0.8613 GB, free: 328 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/0.819, allocations: 8 kB / 0.8614 GB, free: 320 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.819, allocations: 8 kB / 0.8614 GB, free: 312 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.8201, allocations: 266.4 kB / 0.8616 GB, free: 48 kB / 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.003625/0.8237, allocations: 1.337 MB / 0.8629 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008282/0.8246, allocations: 258.4 kB / 0.8632 GB, free: 14.33 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000468/0.8251, allocations: 140.7 kB / 0.8633 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005879/0.8257, allocations: 0.4986 MB / 0.8638 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.8257, allocations: 30.56 kB / 0.8638 GB, free: 13.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.846e-06/0.8258, allocations: 4 kB / 0.8638 GB, free: 13.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.00266/0.8284, allocations: 0.5612 MB / 0.8644 GB, free: 12.95 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8285, allocations: 51.41 kB / 0.8644 GB, free: 12.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007479/0.8292, allocations: 466.1 kB / 0.8649 GB, free: 12.42 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.8293, allocations: 37.7 kB / 0.8649 GB, free: 12.38 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002563/0.8296, allocations: 244.4 kB / 0.8651 GB, free: 12.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.8297, allocations: 82.75 kB / 0.8652 GB, free: 12.05 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.8299, allocations: 73.69 kB / 0.8653 GB, free: 11.97 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8301, allocations: 358.8 kB / 0.8656 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.8306, allocations: 124.8 kB / 0.8657 GB, free: 11.48 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.8311, allocations: 184.5 kB / 0.8659 GB, free: 11.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009394/0.8321, allocations: 278.6 kB / 0.8662 GB, free: 11 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.8321, allocations: 4 kB / 0.8662 GB, free: 11 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002235/0.8343, allocations: 496.5 kB / 0.8667 GB, free: 10.51 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.8344, allocations: 4 kB / 0.8667 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8344, allocations: 0 / 0.8667 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/0.8349, allocations: 56.75 kB / 0.8667 GB, free: 10.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.8354, allocations: 71.89 kB / 0.8668 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005956/0.836, allocations: 0.5679 MB / 0.8673 GB, free: 9.781 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006719/0.8367, allocations: 47.66 kB / 0.8674 GB, free: 9.734 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.016e-05/0.8368, allocations: 15.98 kB / 0.8674 GB, free: 9.719 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006624/0.8375, allocations: 247.4 kB / 0.8676 GB, free: 9.477 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000534/0.838, allocations: 173 kB / 0.8678 GB, free: 9.289 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008749/0.8389, allocations: 266.4 kB / 0.8681 GB, free: 9.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.255e-06/0.8389, allocations: 0 / 0.8681 GB, free: 9.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.001204/0.8401, allocations: 367.8 kB / 0.8684 GB, free: 8.656 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.8402, allocations: 4 kB / 0.8684 GB, free: 8.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.8402, allocations: 0 / 0.8684 GB, free: 8.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.8402, allocations: 4 kB / 0.8684 GB, free: 8.648 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.8407, allocations: 87.81 kB / 0.8685 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.8407, allocations: 0 / 0.8685 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.8413, allocations: 47.95 kB / 0.8685 GB, free: 8.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.026e-05/0.8414, allocations: 11.94 kB / 0.8686 GB, free: 8.504 MB / 0.67 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.0002262/0.8416, allocations: 204.2 kB / 0.8687 GB, free: 8.297 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.8417, allocations: 47.34 kB / 0.8688 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.8432, allocations: 423.9 kB / 0.8692 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.8432, allocations: 4 kB / 0.8692 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.8432, allocations: 0 / 0.8692 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.8432, allocations: 0 / 0.8692 GB, free: 7.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.8455, allocations: 0.9535 MB / 0.8701 GB, free: 6.797 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.8455, allocations: 0 / 0.8701 GB, free: 6.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003385/0.8458, allocations: 47.91 kB / 0.8702 GB, free: 6.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.8461, allocations: 48.81 kB / 0.8702 GB, free: 6.699 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.93e-05/0.8462, allocations: 8.125 kB / 0.8702 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00051/0.8467, allocations: 0.5681 MB / 0.8708 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.8467, allocations: 11.81 kB / 0.8708 GB, free: 6.086 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.8479, allocations: 491 kB / 0.8713 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.8482, allocations: 152.3 kB / 0.8714 GB, free: 5.406 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.8483, allocations: 8 kB / 0.8714 GB, free: 5.398 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.8488, allocations: 27.97 kB / 0.8714 GB, free: 5.371 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.8489, allocations: 31.84 kB / 0.8715 GB, free: 5.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.849, allocations: 11.98 kB / 0.8715 GB, free: 5.328 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005328/0.8495, allocations: 322.9 kB / 0.8718 GB, free: 5.016 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8495, allocations: 0 / 0.8718 GB, free: 5.016 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001273/0.8508, allocations: 247.5 kB / 0.872 GB, free: 4.773 MB / 0.67 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.0007367/0.8516, allocations: 245.2 kB / 0.8723 GB, free: 4.531 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001798/0.8534, allocations: 463.5 kB / 0.8727 GB, free: 4.078 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.8534, allocations: 0 / 0.8727 GB, free: 4.078 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006045/0.854, allocations: 174.6 kB / 0.8729 GB, free: 3.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.8557, allocations: 231.4 kB / 0.8731 GB, free: 3.695 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.8577, allocations: 0.8137 MB / 0.8739 GB, free: 2.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.8584, allocations: 0.8549 MB / 0.8747 GB, free: 1.957 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000595/0.8591, allocations: 116.1 kB / 0.8748 GB, free: 1.844 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.8592, allocations: 43.42 kB / 0.8749 GB, free: 1.801 MB / 0.67 GB Notification: Performance of SimCode: time 8.51e-07/0.8592, allocations: 7.938 kB / 0.8749 GB, free: 1.793 MB / 0.67 GB Notification: Performance of Templates: time 0.02716/0.8864, allocations: 10.17 MB / 0.8848 GB, free: 7.785 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (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)