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.001183/0.001183, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001389/0.001389, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.837/1.837, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.698/1.698, allocations: 252 MB / 0.5102 GB, free: 4.832 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.0005325/0.0005326, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6936, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02033/0.714, allocations: 19.05 MB / 0.7467 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007172/0.7212, allocations: 4.592 MB / 0.7512 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008385/0.7221, allocations: 23.81 kB / 0.7512 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008654/0.723, allocations: 190.7 kB / 0.7514 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.7258, allocations: 0.643 MB / 0.752 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.728, allocations: 0.5981 MB / 0.7526 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002173/0.7302, allocations: 1.543 MB / 0.7541 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006466/0.7308, allocations: 348.8 kB / 0.7545 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.7319, allocations: 0.494 MB / 0.7549 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.7326, allocations: 426.2 kB / 0.7554 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.312e-05/0.7326, allocations: 20 kB / 0.7554 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.7339, allocations: 0.5262 MB / 0.7559 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.7341, allocations: 99.58 kB / 0.756 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.7343, allocations: 125.4 kB / 0.7561 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007277/0.735, allocations: 0.5572 MB / 0.7566 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.735, allocations: 3.984 kB / 0.7567 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.014e-06/0.735, allocations: 0 / 0.7567 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.735, allocations: 0 / 0.7567 GB, free: 14.14 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.001501/0.7365, allocations: 0.8447 MB / 0.7575 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.7366, allocations: 8.031 kB / 0.7575 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.7367, allocations: 63.25 kB / 0.7575 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/0.7374, allocations: 434.9 kB / 0.758 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.7375, allocations: 28.66 kB / 0.758 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.7375, allocations: 36 kB / 0.758 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.7382, allocations: 310 kB / 0.7583 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.7382, allocations: 0 / 0.7583 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.7383, allocations: 12 kB / 0.7583 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.7383, allocations: 8 kB / 0.7583 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.7389, allocations: 282.4 kB / 0.7586 GB, free: 12.04 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.002289/0.7412, allocations: 1.349 MB / 0.7599 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005068/0.7417, allocations: 262.4 kB / 0.7602 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.742, allocations: 148.8 kB / 0.7603 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004876/0.7425, allocations: 0.4986 MB / 0.7608 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.7426, allocations: 34.56 kB / 0.7608 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.904e-06/0.7426, allocations: 0 / 0.7608 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001681/0.7443, allocations: 0.5974 MB / 0.7614 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.7443, allocations: 55.41 kB / 0.7615 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.7449, allocations: 462 kB / 0.7619 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.69e-05/0.7449, allocations: 37.69 kB / 0.7619 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.7451, allocations: 236.5 kB / 0.7622 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.7452, allocations: 94.73 kB / 0.7623 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.7452, allocations: 4 kB / 0.7623 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.7454, allocations: 362.7 kB / 0.7626 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.7457, allocations: 127.7 kB / 0.7627 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.746, allocations: 185.2 kB / 0.7629 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.7464, allocations: 147.6 kB / 0.7631 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.7464, allocations: 3.984 kB / 0.7631 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001009/0.7474, allocations: 430.3 kB / 0.7635 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.7475, allocations: 114.7 kB / 0.7636 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.7476, allocations: 0 / 0.7636 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003637/0.7479, allocations: 60.8 kB / 0.7636 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.7483, allocations: 75.89 kB / 0.7637 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004937/0.7488, allocations: 0.5641 MB / 0.7643 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.7493, allocations: 67.7 kB / 0.7643 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.7494, allocations: 12 kB / 0.7643 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.7494, allocations: 4 kB / 0.7643 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006685/0.75, allocations: 318.1 kB / 0.7646 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.7501, allocations: 0 / 0.7646 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.7501, allocations: 0 / 0.7646 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.7504, allocations: 87.88 kB / 0.7647 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.7505, allocations: 7.953 kB / 0.7647 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.7508, allocations: 65.52 kB / 0.7648 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.7509, allocations: 15.98 kB / 0.7648 GB, free: 5.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.7512, allocations: 249 kB / 0.765 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.439e-05/0.7513, allocations: 51.28 kB / 0.7651 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009634/0.7523, allocations: 429.9 kB / 0.7655 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.7523, allocations: 7.984 kB / 0.7655 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7524, allocations: 7.891 kB / 0.7655 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.7524, allocations: 4 kB / 0.7655 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.754, allocations: 0.9552 MB / 0.7665 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.754, allocations: 8.125 kB / 0.7665 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.7542, allocations: 59.91 kB / 0.7665 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001743/0.7544, allocations: 48.77 kB / 0.7666 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.7544, allocations: 8 kB / 0.7666 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003937/0.7548, allocations: 0.5563 MB / 0.7671 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7549, allocations: 4 kB / 0.7671 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008039/0.7557, allocations: 0.5114 MB / 0.7676 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/0.7559, allocations: 164.3 kB / 0.7678 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.7559, allocations: 7.984 kB / 0.7678 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.7563, allocations: 43.84 kB / 0.7678 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.7564, allocations: 27.83 kB / 0.7679 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.7564, allocations: 15.98 kB / 0.7679 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003702/0.7568, allocations: 318.9 kB / 0.7682 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7568, allocations: 0 / 0.7682 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008638/0.7576, allocations: 243.5 kB / 0.7684 GB, free: 1.441 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000659/0.7583, allocations: 248.2 kB / 0.7686 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.7596, allocations: 495.9 kB / 0.7691 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.7596, allocations: 0 / 0.7691 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.76, allocations: 181.8 kB / 0.7693 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7614, allocations: 250.4 kB / 0.7695 GB, free: 304 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.7631, allocations: 0.9695 MB / 0.7705 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.7637, allocations: 0.8552 MB / 0.7713 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004475/0.7641, allocations: 116.4 kB / 0.7714 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.7642, allocations: 43.42 kB / 0.7715 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.7642, allocations: 4 kB / 0.7715 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.01984/0.7841, allocations: 9.595 MB / 0.7808 GB, free: 4.812 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: