Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4671/0.4671, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 349.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009665/0.0009664, allocations: 103.6 kB / 420 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 52.06 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3689, allocations: 70.07 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01527/0.3843, allocations: 20.65 MB / 0.5777 GB, free: 24.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005431/0.3897, allocations: 4.967 MB / 0.5825 GB, free: 19.5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007126/0.3905, allocations: 15.88 kB / 0.5825 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007112/0.3912, allocations: 222.7 kB / 0.5827 GB, free: 19.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.393, allocations: 0.7514 MB / 0.5835 GB, free: 18.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.3946, allocations: 0.6346 MB / 0.5841 GB, free: 17.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001501/0.3961, allocations: 1.82 MB / 0.5859 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.3966, allocations: 375.9 kB / 0.5862 GB, free: 15.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007292/0.3973, allocations: 0.5367 MB / 0.5867 GB, free: 15.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000437/0.3978, allocations: 458.1 kB / 0.5872 GB, free: 14.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.456e-05/0.3978, allocations: 24 kB / 0.5872 GB, free: 14.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009762/0.3988, allocations: 0.5925 MB / 0.5878 GB, free: 14.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.3989, allocations: 119.4 kB / 0.5879 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.3991, allocations: 270.5 kB / 0.5882 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000785/0.3999, allocations: 0.8199 MB / 0.589 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3999, allocations: 0 / 0.589 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4, allocations: 0 / 0.589 GB, free: 12.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.4, allocations: 0 / 0.589 GB, free: 12.88 MB / 410.7 MB 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.001306/0.4013, allocations: 0.9187 MB / 0.5899 GB, free: 11.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.4013, allocations: 12.03 kB / 0.5899 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4014, allocations: 72.19 kB / 0.5899 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005088/0.402, allocations: 455.4 kB / 0.5904 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.402, allocations: 24.66 kB / 0.5904 GB, free: 11.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.402, allocations: 36 kB / 0.5904 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005352/0.4026, allocations: 306 kB / 0.5907 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4026, allocations: 0 / 0.5907 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.4026, allocations: 12 kB / 0.5907 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.4027, allocations: 8 kB / 0.5907 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.4032, allocations: 262.4 kB / 0.591 GB, free: 10.71 MB / 410.7 MB 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.001741/0.405, allocations: 1.337 MB / 0.5923 GB, free: 9.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.4054, allocations: 258.4 kB / 0.5925 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.4057, allocations: 136.9 kB / 0.5927 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004428/0.4061, allocations: 0.4986 MB / 0.5932 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4062, allocations: 46.44 kB / 0.5932 GB, free: 8.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.144e-06/0.4062, allocations: 0 / 0.5932 GB, free: 8.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.001706/0.4079, allocations: 0.5595 MB / 0.5938 GB, free: 7.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.4079, allocations: 55.41 kB / 0.5938 GB, free: 7.535 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.4083, allocations: 470 kB / 0.5943 GB, free: 7.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.4084, allocations: 29.7 kB / 0.5943 GB, free: 7.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.4086, allocations: 244.5 kB / 0.5945 GB, free: 6.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/0.4086, allocations: 90.73 kB / 0.5946 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4087, allocations: 77.44 kB / 0.5947 GB, free: 6.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.4088, allocations: 354.8 kB / 0.595 GB, free: 6.262 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/0.4091, allocations: 124.8 kB / 0.5951 GB, free: 6.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.4094, allocations: 181 kB / 0.5953 GB, free: 5.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/0.41, allocations: 270.3 kB / 0.5956 GB, free: 5.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.41, allocations: 4 kB / 0.5956 GB, free: 5.668 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00139/0.4114, allocations: 497.4 kB / 0.596 GB, free: 5.172 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4114, allocations: 4 kB / 0.596 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4114, allocations: 0 / 0.596 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/0.4118, allocations: 52.89 kB / 0.5961 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.4121, allocations: 67.89 kB / 0.5962 GB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003267/0.4124, allocations: 0.5717 MB / 0.5967 GB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.4129, allocations: 59.67 kB / 0.5968 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.4129, allocations: 15.98 kB / 0.5968 GB, free: 4.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003548/0.4133, allocations: 240.1 kB / 0.597 GB, free: 4.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000286/0.4136, allocations: 181.4 kB / 0.5972 GB, free: 3.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004801/0.4141, allocations: 269.3 kB / 0.5974 GB, free: 3.672 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.352e-06/0.4141, allocations: 0 / 0.5974 GB, free: 3.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0006469/0.4147, allocations: 368.8 kB / 0.5978 GB, free: 3.305 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.4148, allocations: 4 kB / 0.5978 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.4148, allocations: 0 / 0.5978 GB, free: 3.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-06/0.4148, allocations: 8 kB / 0.5978 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.4151, allocations: 79.83 kB / 0.5979 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.4151, allocations: 4 kB / 0.5979 GB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.4156, allocations: 55.78 kB / 0.5979 GB, free: 3.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.4156, allocations: 19.98 kB / 0.598 GB, free: 3.137 MB / 410.7 MB 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.0001017/0.4157, allocations: 204.1 kB / 0.5982 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.945e-05/0.4158, allocations: 51.34 kB / 0.5982 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.4166, allocations: 411.9 kB / 0.5986 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.4166, allocations: 0 / 0.5986 GB, free: 2.457 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4167, allocations: 4 kB / 0.5986 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.4167, allocations: 7.984 kB / 0.5986 GB, free: 2.445 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.4179, allocations: 0.9468 MB / 0.5995 GB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4179, allocations: 4.031 kB / 0.5995 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.4181, allocations: 51.91 kB / 0.5996 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.4183, allocations: 44.89 kB / 0.5996 GB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.4183, allocations: 11.98 kB / 0.5996 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002316/0.4186, allocations: 0.5562 MB / 0.6002 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4186, allocations: 8.031 kB / 0.6002 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.4198, allocations: 1.258 MB / 0.6014 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001757/0.42, allocations: 156.4 kB / 0.6016 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.42, allocations: 8 kB / 0.6016 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.4204, allocations: 43.86 kB / 0.6016 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.4205, allocations: 19.97 kB / 0.6016 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.4206, allocations: 15.98 kB / 0.6017 GB, free: 15.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000339/0.4209, allocations: 318.9 kB / 0.602 GB, free: 14.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4209, allocations: 3.938 kB / 0.602 GB, free: 14.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009346/0.4219, allocations: 263.5 kB / 0.6022 GB, free: 14.57 MB / 426.7 MB 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.0004912/0.4224, allocations: 256.8 kB / 0.6025 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.4235, allocations: 471.8 kB / 0.6029 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4235, allocations: 0 / 0.6029 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004005/0.424, allocations: 175.8 kB / 0.6031 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.4254, allocations: 236.4 kB / 0.6033 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.4271, allocations: 1.218 MB / 0.6045 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.4275, allocations: 0.863 MB / 0.6053 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000431/0.4279, allocations: 120.3 kB / 0.6055 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.934e-05/0.428, allocations: 43.42 kB / 0.6055 GB, free: 11.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.428, allocations: 0 / 0.6055 GB, free: 11.14 MB / 426.7 MB Notification: Performance of Templates: time 0.01819/0.4462, allocations: 10.17 MB / 0.6154 GB, free: 1.117 MB / 426.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1)