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.621/1.621, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.0009841/0.0009843, allocations: 181 kB / 372.9 MB, free: 10.13 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.593/1.593, allocations: 205.4 MB / 0.6317 GB, free: 9.887 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.0008703/0.0008703, allocations: 103.2 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003964, allocations: 16.7 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9888/1.239, allocations: 378.9 MB / 1.351 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.239, allocations: 91.94 kB / 1.351 GB, free: 1.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.977/2.216, allocations: 250.9 MB / 1.596 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.322e-06/2.216, allocations: 4 kB / 1.596 GB, free: 191.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.081e-05/2.216, allocations: 12 kB / 1.596 GB, free: 191.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.001645/2.218, allocations: 0.9274 MB / 1.597 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/2.218, allocations: 12.03 kB / 1.597 GB, free: 190.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/2.218, allocations: 64.19 kB / 1.597 GB, free: 190.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/2.219, allocations: 492.5 kB / 1.597 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/2.219, allocations: 33.03 kB / 1.597 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/2.219, allocations: 36.38 kB / 1.597 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/2.219, allocations: 306.6 kB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/2.219, allocations: 3.938 kB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/2.219, allocations: 19.94 kB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/2.219, allocations: 8 kB / 1.598 GB, free: 189.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005331/2.22, allocations: 266.5 kB / 1.598 GB, free: 189.5 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.001753/2.222, allocations: 1.341 MB / 1.599 GB, free: 188.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/2.222, allocations: 262.4 kB / 1.599 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/2.223, allocations: 136.8 kB / 1.6 GB, free: 187.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003634/2.223, allocations: 0.4986 MB / 1.6 GB, free: 187.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/2.223, allocations: 34.56 kB / 1.6 GB, free: 187 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/2.223, allocations: 0 / 1.6 GB, free: 187 MB / 0.9323 GB Notification: Performance of matching and sorting (n=25): time 0.001599/2.225, allocations: 0.5769 MB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/2.225, allocations: 55.41 kB / 1.601 GB, free: 186.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/2.225, allocations: 458.1 kB / 1.601 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/2.225, allocations: 33.7 kB / 1.601 GB, free: 185.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/2.225, allocations: 248.7 kB / 1.601 GB, free: 185.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/2.225, allocations: 90.73 kB / 1.602 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/2.225, allocations: 4 kB / 1.602 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/2.225, allocations: 358.7 kB / 1.602 GB, free: 185.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/2.226, allocations: 119.9 kB / 1.602 GB, free: 185 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003234/2.226, allocations: 218 kB / 1.602 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/2.226, allocations: 284.2 kB / 1.602 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/2.226, allocations: 0 / 1.602 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008555/2.227, allocations: 412.7 kB / 1.603 GB, free: 184.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 5.191e-05/2.227, allocations: 110.7 kB / 1.603 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/2.227, allocations: 0 / 1.603 GB, free: 184 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/2.228, allocations: 60.73 kB / 1.603 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/2.228, allocations: 75.89 kB / 1.603 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003404/2.228, allocations: 0.5562 MB / 1.604 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000503/2.229, allocations: 75.72 kB / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/2.229, allocations: 19.98 kB / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/2.229, allocations: 4 kB / 1.604 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005985/2.23, allocations: 311.8 kB / 1.604 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/2.23, allocations: 4 kB / 1.604 GB, free: 182.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/2.23, allocations: 7.938 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/2.23, allocations: 91.81 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/2.23, allocations: 4 kB / 1.604 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/2.23, allocations: 67.72 kB / 1.604 GB, free: 182.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/2.23, allocations: 15.98 kB / 1.604 GB, free: 182.7 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.0002279/2.231, allocations: 245 kB / 1.604 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/2.231, allocations: 51.34 kB / 1.605 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/2.232, allocations: 427.9 kB / 1.605 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/2.232, allocations: 4 kB / 1.605 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/2.232, allocations: 0 / 1.605 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/2.232, allocations: 4 kB / 1.605 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/2.233, allocations: 0.9549 MB / 1.606 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/2.233, allocations: 0 / 1.606 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/2.233, allocations: 63.83 kB / 1.606 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001506/2.233, allocations: 44.89 kB / 1.606 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/2.233, allocations: 8 kB / 1.606 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002323/2.234, allocations: 0.5601 MB / 1.607 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.234, allocations: 3.938 kB / 1.607 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006527/2.234, allocations: 0.4953 MB / 1.607 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/2.234, allocations: 156.3 kB / 1.607 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/2.234, allocations: 8 kB / 1.607 GB, free: 179.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/2.235, allocations: 43.95 kB / 1.607 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/2.235, allocations: 31.84 kB / 1.607 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/2.235, allocations: 11.98 kB / 1.607 GB, free: 179.4 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002939/2.235, allocations: 314.9 kB / 1.608 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.11e-07/2.235, allocations: 4 kB / 1.608 GB, free: 179.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008512/2.236, allocations: 279.6 kB / 1.608 GB, free: 178.8 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.0006624/2.237, allocations: 365.4 kB / 1.608 GB, free: 178.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001054/2.238, allocations: 499.4 kB / 1.609 GB, free: 178 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/2.238, allocations: 0 / 1.609 GB, free: 178 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003476/2.238, allocations: 176 kB / 1.609 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/2.24, allocations: 254.3 kB / 1.609 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/2.241, allocations: 0.9673 MB / 1.61 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/2.241, allocations: 0.8631 MB / 1.611 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004234/2.242, allocations: 116.2 kB / 1.611 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/2.242, allocations: 39.44 kB / 1.611 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.4e-07/2.242, allocations: 0 / 1.611 GB, free: 175.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.01735/2.259, allocations: 11.21 MB / 1.622 GB, free: 164.5 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)