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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 176.5 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 0.5785 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000911/0.0009108, allocations: 88.06 kB / 0.6831 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004612, allocations: 14.72 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.876/1.1, allocations: 371.3 MB / 1.264 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/1.1, allocations: 85.58 kB / 1.264 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.9918/2.092, allocations: 243.9 MB / 1.502 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.364e-06/2.092, allocations: 0 / 1.502 GB, free: 254.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.435e-05/2.092, allocations: 19.94 kB / 1.502 GB, free: 254.7 MB / 0.8855 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.002453/2.094, allocations: 0.9272 MB / 1.503 GB, free: 253.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/2.094, allocations: 12.03 kB / 1.503 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/2.095, allocations: 64.19 kB / 1.503 GB, free: 253.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/2.096, allocations: 497.2 kB / 1.504 GB, free: 253.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/2.096, allocations: 25.03 kB / 1.504 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/2.096, allocations: 36.38 kB / 1.504 GB, free: 253.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/2.097, allocations: 310.6 kB / 1.504 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/2.097, allocations: 3.938 kB / 1.504 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.376e-05/2.097, allocations: 12 kB / 1.504 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/2.097, allocations: 8 kB / 1.504 GB, free: 252.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005915/2.097, allocations: 266.5 kB / 1.504 GB, free: 252.5 MB / 0.8855 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.002456/2.1, allocations: 1.345 MB / 1.506 GB, free: 251.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006007/2.101, allocations: 262.4 kB / 1.506 GB, free: 250.8 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/2.101, allocations: 136.7 kB / 1.506 GB, free: 250.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/2.101, allocations: 0.4947 MB / 1.506 GB, free: 250.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/2.101, allocations: 34.56 kB / 1.506 GB, free: 250 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=25): time 2.625e-06/2.101, allocations: 4 kB / 1.506 GB, free: 250 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25): time 0.00171/2.103, allocations: 0.5772 MB / 1.507 GB, free: 249.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/2.103, allocations: 59.41 kB / 1.507 GB, free: 249.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/2.104, allocations: 462.2 kB / 1.507 GB, free: 248.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/2.104, allocations: 33.7 kB / 1.507 GB, free: 248.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/2.104, allocations: 244.7 kB / 1.508 GB, free: 248.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/2.104, allocations: 89.33 kB / 1.508 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.645e-05/2.104, allocations: 4 kB / 1.508 GB, free: 248.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001314/2.104, allocations: 358.7 kB / 1.508 GB, free: 248.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/2.104, allocations: 119.9 kB / 1.508 GB, free: 248 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/2.105, allocations: 218.6 kB / 1.508 GB, free: 247.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/2.105, allocations: 276.4 kB / 1.509 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/2.105, allocations: 0 / 1.509 GB, free: 247.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009269/2.106, allocations: 420.8 kB / 1.509 GB, free: 247.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-05/2.106, allocations: 120.3 kB / 1.509 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/2.106, allocations: 3.812 kB / 1.509 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003792/2.107, allocations: 48.81 kB / 1.509 GB, free: 246.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/2.107, allocations: 79.88 kB / 1.509 GB, free: 246.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004184/2.108, allocations: 0.5563 MB / 1.51 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005593/2.108, allocations: 75.72 kB / 1.51 GB, free: 246.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/2.108, allocations: 19.98 kB / 1.51 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/2.108, allocations: 4 kB / 1.51 GB, free: 246.1 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006473/2.109, allocations: 303.7 kB / 1.51 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/2.109, allocations: 4 kB / 1.51 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/2.109, allocations: 4.078 kB / 1.51 GB, free: 245.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003602/2.109, allocations: 91.88 kB / 1.51 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/2.109, allocations: 4 kB / 1.51 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005021/2.11, allocations: 71.67 kB / 1.51 GB, free: 245.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/2.11, allocations: 12 kB / 1.51 GB, free: 245.7 MB / 0.8855 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.0002922/2.11, allocations: 256.8 kB / 1.511 GB, free: 245.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.086e-05/2.11, allocations: 51.34 kB / 1.511 GB, free: 245.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008918/2.111, allocations: 440.9 kB / 1.511 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/2.111, allocations: 0 / 1.511 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/2.111, allocations: 0 / 1.511 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.111, allocations: 4 kB / 1.511 GB, free: 244.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/2.113, allocations: 0.9496 MB / 1.512 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/2.113, allocations: 0 / 1.512 GB, free: 243.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/2.113, allocations: 59.89 kB / 1.512 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001578/2.113, allocations: 32.84 kB / 1.512 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/2.113, allocations: 11.98 kB / 1.512 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003023/2.113, allocations: 0.5641 MB / 1.513 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.113, allocations: 3.938 kB / 1.513 GB, free: 243.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006928/2.114, allocations: 0.5011 MB / 1.513 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/2.114, allocations: 156.3 kB / 1.513 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/2.114, allocations: 15.88 kB / 1.513 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/2.115, allocations: 43.95 kB / 1.513 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/2.115, allocations: 27.91 kB / 1.514 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/2.115, allocations: 8 kB / 1.514 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003304/2.115, allocations: 318.9 kB / 1.514 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/2.115, allocations: 4 kB / 1.514 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001099/2.116, allocations: 282.3 kB / 1.514 GB, free: 241.8 MB / 0.8855 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.000825/2.117, allocations: 356.1 kB / 1.514 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00118/2.118, allocations: 487.3 kB / 1.515 GB, free: 241 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/2.118, allocations: 0 / 1.515 GB, free: 241 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/2.119, allocations: 172 kB / 1.515 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/2.12, allocations: 264.1 kB / 1.515 GB, free: 240.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/2.122, allocations: 0.9728 MB / 1.516 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/2.122, allocations: 0.8669 MB / 1.517 GB, free: 238.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004703/2.122, allocations: 116.7 kB / 1.517 GB, free: 238.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/2.123, allocations: 39.42 kB / 1.517 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of SimCode: time 3.9e-07/2.123, allocations: 0 / 1.517 GB, free: 238.5 MB / 0.8855 GB Notification: Performance of Templates: time 0.01714/2.14, allocations: 11.2 MB / 1.528 GB, free: 227.5 MB / 0.8855 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)