Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.625/1.625, allocations: 288.3 MB / 303.2 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 184.5 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 95.48 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004291, allocations: 11.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2631, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.288, allocations: 378.8 MB / 1.349 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/1.289, allocations: 95.75 kB / 1.349 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.082/2.371, allocations: 252.4 MB / 1.596 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.773e-06/2.371, allocations: 0 / 1.596 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.459e-05/2.371, allocations: 20 kB / 1.596 GB, free: 190.8 MB / 0.9323 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.001698/2.373, allocations: 0.9311 MB / 1.597 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/2.373, allocations: 8.031 kB / 1.597 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/2.373, allocations: 71.2 kB / 1.597 GB, free: 189.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007362/2.374, allocations: 467.4 kB / 1.597 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/2.374, allocations: 28.66 kB / 1.597 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/2.374, allocations: 43.98 kB / 1.597 GB, free: 189.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/2.375, allocations: 302 kB / 1.598 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/2.375, allocations: 3.938 kB / 1.598 GB, free: 188.9 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/2.375, allocations: 12 kB / 1.598 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/2.375, allocations: 8 kB / 1.598 GB, free: 188.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/2.375, allocations: 278.3 kB / 1.598 GB, free: 188.6 MB / 0.9323 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.001824/2.377, allocations: 1.329 MB / 1.599 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/2.378, allocations: 271.9 kB / 1.6 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/2.378, allocations: 0.4986 MB / 1.6 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.81e-05/2.378, allocations: 34.94 kB / 1.6 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 1.433e-06/2.378, allocations: 0 / 1.6 GB, free: 186.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001618/2.38, allocations: 0.5857 MB / 1.601 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/2.38, allocations: 59.36 kB / 1.601 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/2.38, allocations: 397.4 kB / 1.601 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/2.38, allocations: 37.7 kB / 1.601 GB, free: 185.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/2.38, allocations: 248.7 kB / 1.601 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/2.38, allocations: 86.73 kB / 1.601 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/2.38, allocations: 8 kB / 1.601 GB, free: 184.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.159e-05/2.38, allocations: 358.8 kB / 1.602 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/2.381, allocations: 115.9 kB / 1.602 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/2.381, allocations: 229.8 kB / 1.602 GB, free: 184 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/2.381, allocations: 142.2 kB / 1.602 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/2.381, allocations: 4 kB / 1.602 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007808/2.382, allocations: 416.2 kB / 1.603 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.453e-05/2.382, allocations: 275 kB / 1.603 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/2.382, allocations: 4 kB / 1.603 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/2.382, allocations: 40.83 kB / 1.603 GB, free: 183.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/2.383, allocations: 75.89 kB / 1.603 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003298/2.383, allocations: 0.5679 MB / 1.604 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005528/2.384, allocations: 71.72 kB / 1.604 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.17e-05/2.384, allocations: 16 kB / 1.604 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/2.384, allocations: 4 kB / 1.604 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005919/2.384, allocations: 315.6 kB / 1.604 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/2.384, allocations: 4 kB / 1.604 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-06/2.384, allocations: 144 / 1.604 GB, free: 182 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/2.385, allocations: 87.88 kB / 1.604 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/2.385, allocations: 4 kB / 1.604 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/2.385, allocations: 71.69 kB / 1.604 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/2.385, allocations: 11.98 kB / 1.604 GB, free: 181.9 MB / 0.9323 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.0002366/2.385, allocations: 256.9 kB / 1.604 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/2.385, allocations: 47.44 kB / 1.604 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/2.386, allocations: 431.9 kB / 1.605 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/2.386, allocations: 3.984 kB / 1.605 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/2.386, allocations: 0 / 1.605 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/2.386, allocations: 4 kB / 1.605 GB, free: 181.1 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/2.388, allocations: 0.9534 MB / 1.606 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/2.388, allocations: 3.938 kB / 1.606 GB, free: 180.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00022/2.388, allocations: 47.97 kB / 1.606 GB, free: 180 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/2.388, allocations: 36.95 kB / 1.606 GB, free: 180 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/2.388, allocations: 15.98 kB / 1.606 GB, free: 180 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002295/2.388, allocations: 0.564 MB / 1.606 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.388, allocations: 0 / 1.606 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/2.389, allocations: 0.5486 MB / 1.607 GB, free: 178.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/2.389, allocations: 160.3 kB / 1.607 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/2.389, allocations: 4 kB / 1.607 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/2.39, allocations: 47.95 kB / 1.607 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/2.39, allocations: 19.97 kB / 1.607 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/2.39, allocations: 15.95 kB / 1.607 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002941/2.39, allocations: 322.9 kB / 1.608 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.1e-07/2.39, allocations: 3.938 kB / 1.608 GB, free: 178.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008893/2.391, allocations: 271.6 kB / 1.608 GB, free: 177.9 MB / 0.9323 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.0006598/2.391, allocations: 363.2 kB / 1.608 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001076/2.393, allocations: 488.7 kB / 1.609 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/2.393, allocations: 0 / 1.609 GB, free: 177.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/2.393, allocations: 183.8 kB / 1.609 GB, free: 176.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/2.394, allocations: 253.4 kB / 1.609 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/2.395, allocations: 0.9713 MB / 1.61 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/2.396, allocations: 0.8669 MB / 1.611 GB, free: 174.8 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004192/2.396, allocations: 120.2 kB / 1.611 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.53e-05/2.396, allocations: 47.42 kB / 1.611 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/2.396, allocations: 0 / 1.611 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.01712/2.413, allocations: 11.04 MB / 1.622 GB, free: 163.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)