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/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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 107.8 kB / 16.27 MB, free: 5.93 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.001087/0.001087, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.799/0.799, allocations: 126.4 MB / 417.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 0.4953 GB, free: 3.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3664, allocations: 78.79 MB / 0.5723 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01703/0.3835, allocations: 20.73 MB / 0.5925 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006245/0.3897, allocations: 4.961 MB / 0.5974 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000699/0.3905, allocations: 19.88 kB / 0.5974 GB, free: 11.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007182/0.3912, allocations: 272.2 kB / 0.5976 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3931, allocations: 0.8055 MB / 0.5984 GB, free: 10.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.3949, allocations: 0.7094 MB / 0.5991 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.3964, allocations: 1.376 MB / 0.6005 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005956/0.3971, allocations: 435.5 kB / 0.6009 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.3983, allocations: 0.654 MB / 0.6015 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.3989, allocations: 434.1 kB / 0.6019 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.469e-05/0.3989, allocations: 36 kB / 0.602 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.4001, allocations: 0.6317 MB / 0.6026 GB, free: 7.145 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.4002, allocations: 131.5 kB / 0.6027 GB, free: 7.016 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002192/0.4004, allocations: 286.4 kB / 0.603 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008692/0.4013, allocations: 0.8314 MB / 0.6038 GB, free: 5.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4013, allocations: 0 / 0.6038 GB, free: 5.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4013, allocations: 0 / 0.6038 GB, free: 5.902 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.4014, allocations: 0 / 0.6038 GB, free: 5.902 MB / 446.1 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.001226/0.4026, allocations: 0.9265 MB / 0.6047 GB, free: 4.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.4026, allocations: 8.031 kB / 0.6047 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.4027, allocations: 64.19 kB / 0.6048 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.4032, allocations: 454.8 kB / 0.6052 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.4032, allocations: 24.66 kB / 0.6052 GB, free: 4.344 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.4033, allocations: 32 kB / 0.6052 GB, free: 4.312 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.4038, allocations: 313.9 kB / 0.6055 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4038, allocations: 0 / 0.6055 GB, free: 4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.4038, allocations: 8 kB / 0.6056 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4039, allocations: 8 kB / 0.6056 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005455/0.4044, allocations: 262.4 kB / 0.6058 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.406, allocations: 1.352 MB / 0.6071 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.4065, allocations: 259.4 kB / 0.6074 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.4068, allocations: 144.7 kB / 0.6075 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/0.4071, allocations: 0.4908 MB / 0.608 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.4071, allocations: 34.56 kB / 0.608 GB, free: 1.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.4071, allocations: 0 / 0.608 GB, free: 1.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001558/0.4087, allocations: 0.5652 MB / 0.6086 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.4087, allocations: 51.41 kB / 0.6086 GB, free: 0.5547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.4091, allocations: 466.1 kB / 0.6091 GB, free: 92 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4091, allocations: 33.92 kB / 0.6091 GB, free: 52 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4093, allocations: 248.5 kB / 0.6093 GB, free: 15.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.628e-05/0.4094, allocations: 90.61 kB / 0.6094 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.4095, allocations: 77.59 kB / 0.6095 GB, free: 15.63 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4097, allocations: 358.8 kB / 0.6098 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.41, allocations: 120.8 kB / 0.61 GB, free: 15.15 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.4103, allocations: 185 kB / 0.6101 GB, free: 14.95 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006098/0.4109, allocations: 273.6 kB / 0.6104 GB, free: 14.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.411, allocations: 0 / 0.6104 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001642/0.4126, allocations: 490.7 kB / 0.6109 GB, free: 14.19 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4126, allocations: 8 kB / 0.6109 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.4127, allocations: 0 / 0.6109 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.413, allocations: 56.75 kB / 0.6109 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.4134, allocations: 67.89 kB / 0.611 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003932/0.4138, allocations: 0.5718 MB / 0.6116 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.4142, allocations: 43.66 kB / 0.6116 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.4142, allocations: 19.98 kB / 0.6116 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003953/0.4146, allocations: 239.8 kB / 0.6118 GB, free: 13.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003325/0.415, allocations: 177.7 kB / 0.612 GB, free: 12.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005594/0.4155, allocations: 256.6 kB / 0.6123 GB, free: 12.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.4155, allocations: 4 kB / 0.6123 GB, free: 12.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007896/0.4163, allocations: 371.2 kB / 0.6126 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.4164, allocations: 7.938 kB / 0.6126 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.4164, allocations: 3.938 kB / 0.6126 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4164, allocations: 4 kB / 0.6126 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.4168, allocations: 79.88 kB / 0.6127 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.4168, allocations: 12.14 kB / 0.6127 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.4172, allocations: 43.8 kB / 0.6128 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.4172, allocations: 12 kB / 0.6128 GB, free: 12.18 MB / 462.1 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.00013/0.4173, allocations: 192.2 kB / 0.613 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.321e-05/0.4174, allocations: 51.38 kB / 0.613 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/0.4184, allocations: 431.8 kB / 0.6134 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4184, allocations: 4 kB / 0.6134 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4184, allocations: 0 / 0.6134 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.4184, allocations: 0 / 0.6134 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/0.4198, allocations: 0.9529 MB / 0.6143 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4199, allocations: 7.984 kB / 0.6144 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.4201, allocations: 47.97 kB / 0.6144 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001657/0.4203, allocations: 36.97 kB / 0.6144 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.4203, allocations: 12.12 kB / 0.6144 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003417/0.4207, allocations: 0.564 MB / 0.615 GB, free: 9.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4207, allocations: 3.984 kB / 0.615 GB, free: 9.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.4215, allocations: 491.7 kB / 0.6155 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.4216, allocations: 148.4 kB / 0.6156 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/0.4217, allocations: 11.94 kB / 0.6156 GB, free: 9.078 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.422, allocations: 27.97 kB / 0.6157 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.4221, allocations: 19.97 kB / 0.6157 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.4221, allocations: 19.98 kB / 0.6157 GB, free: 9.012 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003178/0.4224, allocations: 314.9 kB / 0.616 GB, free: 8.707 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4225, allocations: 0 / 0.616 GB, free: 8.707 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006869/0.4231, allocations: 251.5 kB / 0.6162 GB, free: 8.461 MB / 462.1 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.0004792/0.4236, allocations: 263.1 kB / 0.6165 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.4249, allocations: 475.3 kB / 0.6169 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4249, allocations: 3.938 kB / 0.6169 GB, free: 7.742 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.4253, allocations: 176.1 kB / 0.6171 GB, free: 7.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4263, allocations: 219.9 kB / 0.6173 GB, free: 7.363 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4276, allocations: 0.8321 MB / 0.6181 GB, free: 6.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.428, allocations: 0.851 MB / 0.619 GB, free: 5.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.4284, allocations: 116.1 kB / 0.6191 GB, free: 5.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.4285, allocations: 51.36 kB / 0.6191 GB, free: 5.449 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4285, allocations: 0 / 0.6191 GB, free: 5.449 MB / 462.1 MB Notification: Performance of Templates: time 0.01605/0.4446, allocations: 10.11 MB / 0.629 GB, free: 11.52 MB / 478.1 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)