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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 121.2 kB / 17.8 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 189.5 kB / 20.75 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 249.1 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.796/0.796, allocations: 128.4 MB / 432.4 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.89 kB / 0.5987 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3903, allocations: 83.26 MB / 0.68 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02127/0.4116, allocations: 21.01 MB / 0.7005 GB, free: 6.223 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.0084/0.42, allocations: 5.234 MB / 0.7056 GB, free: 1.961 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009415/0.4209, allocations: 17.75 kB / 0.7057 GB, free: 1.953 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.0008897/0.4218, allocations: 289.5 kB / 0.7059 GB, free: 1.711 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.4247, allocations: 1.043 MB / 0.7069 GB, free: 0.9102 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.4264, allocations: 0.6374 MB / 0.7076 GB, free: 460 kB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.4284, allocations: 1.454 MB / 0.709 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.4291, allocations: 415.4 kB / 0.7094 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.4304, allocations: 0.7057 MB / 0.7101 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007629/0.4312, allocations: 0.5058 MB / 0.7106 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.4313, allocations: 48.47 kB / 0.7106 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.4329, allocations: 0.7594 MB / 0.7114 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.433, allocations: 154.2 kB / 0.7115 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.4334, allocations: 330.7 kB / 0.7118 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.4349, allocations: 0.9961 MB / 0.7128 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4349, allocations: 1.344 kB / 0.7128 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4349, allocations: 0 / 0.7128 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4349, allocations: 0 / 0.7128 GB, free: 13.2 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00203/0.4369, allocations: 1.046 MB / 0.7138 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.437, allocations: 8.812 kB / 0.7138 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.4371, allocations: 70.73 kB / 0.7139 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.4382, allocations: 0.5849 MB / 0.7145 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.4382, allocations: 20.56 kB / 0.7145 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.4383, allocations: 36 kB / 0.7145 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006808/0.4389, allocations: 296.8 kB / 0.7148 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.439, allocations: 0 / 0.7148 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.439, allocations: 12 kB / 0.7148 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.439, allocations: 12 kB / 0.7148 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007031/0.4397, allocations: 258 kB / 0.7151 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.4421, allocations: 1.426 MB / 0.7165 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006225/0.4427, allocations: 234.5 kB / 0.7167 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.443, allocations: 132.9 kB / 0.7168 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.4435, allocations: 0.4908 MB / 0.7173 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.4435, allocations: 38.56 kB / 0.7173 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.4435, allocations: 0 / 0.7173 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.001192/0.4447, allocations: 412.9 kB / 0.7177 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4448, allocations: 51.41 kB / 0.7178 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009168/0.4457, allocations: 0.6084 MB / 0.7184 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.4457, allocations: 37.7 kB / 0.7184 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.4459, allocations: 260.9 kB / 0.7187 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.446, allocations: 71.38 kB / 0.7187 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002437/0.4463, allocations: 130 kB / 0.7188 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002021/0.4465, allocations: 362.8 kB / 0.7192 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/0.4471, allocations: 202.5 kB / 0.7194 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.4478, allocations: 295.8 kB / 0.7197 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.4488, allocations: 361.2 kB / 0.72 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.4488, allocations: 0 / 0.72 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001797/0.4506, allocations: 0.5721 MB / 0.7206 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.4506, allocations: 10.12 kB / 0.7206 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4506, allocations: 7.938 kB / 0.7206 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.4509, allocations: 60.8 kB / 0.7206 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.4514, allocations: 107.8 kB / 0.7207 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005737/0.452, allocations: 0.5641 MB / 0.7213 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008538/0.4528, allocations: 79.78 kB / 0.7214 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.4529, allocations: 23.98 kB / 0.7214 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007256/0.4536, allocations: 321 kB / 0.7217 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006627/0.4543, allocations: 287.9 kB / 0.722 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009082/0.4552, allocations: 363 kB / 0.7223 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.4552, allocations: 3.938 kB / 0.7223 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.00148/0.4567, allocations: 0.546 MB / 0.7229 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4567, allocations: 8 kB / 0.7229 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.4567, allocations: 0 / 0.7229 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/0.4567, allocations: 4 kB / 0.7229 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.4573, allocations: 123.8 kB / 0.723 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.4573, allocations: 0 / 0.723 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008199/0.4581, allocations: 87.78 kB / 0.7231 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.4581, allocations: 23.98 kB / 0.7231 GB, free: 2.484 MB / 0.5294 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 (50): * Single equations (assignments): 49 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001936/0.4583, allocations: 203.4 kB / 0.7233 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4585, allocations: 55.67 kB / 0.7233 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009531/0.4594, allocations: 383 kB / 0.7237 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4594, allocations: 7.984 kB / 0.7237 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4594, allocations: 4 kB / 0.7237 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.4594, allocations: 3.938 kB / 0.7237 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.4612, allocations: 0.9932 MB / 0.7247 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4612, allocations: 0 / 0.7247 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.4616, allocations: 83.91 kB / 0.7248 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4616, allocations: 0 / 0.7248 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.4617, allocations: 11.92 kB / 0.7248 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005357/0.4622, allocations: 0.629 MB / 0.7254 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4622, allocations: 4.031 kB / 0.7254 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009048/0.4631, allocations: 490.2 kB / 0.7259 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.4633, allocations: 164.7 kB / 0.726 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.197e-05/0.4634, allocations: 11.94 kB / 0.726 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.4638, allocations: 39.89 kB / 0.7261 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.4639, allocations: 19.97 kB / 0.7261 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.4639, allocations: 8 kB / 0.7261 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007101/0.4646, allocations: 442.8 kB / 0.7265 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4646, allocations: 0 / 0.7265 GB, free: 14.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001013/0.4656, allocations: 339.3 kB / 0.7268 GB, free: 14.49 MB / 0.545 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006416/0.4663, allocations: 281.8 kB / 0.7271 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001888/0.4682, allocations: 0.6166 MB / 0.7277 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4682, allocations: 0 / 0.7277 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.4697, allocations: 259.8 kB / 0.728 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4708, allocations: 219.8 kB / 0.7282 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.4723, allocations: 0.881 MB / 0.729 GB, free: 12.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.4728, allocations: 0.8629 MB / 0.7299 GB, free: 11.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.473, allocations: 55.41 kB / 0.7299 GB, free: 11.27 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.473, allocations: 4 kB / 0.7299 GB, free: 11.26 MB / 0.545 GB Notification: Performance of Templates: time 0.01798/0.491, allocations: 11.69 MB / 0.7414 GB, free: 15.67 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.033001977950335] Failed to read output from testmodel.py, exit status != 0: 0.4995208780746907 0.5119299780000001 0.074277152 Calling exit ...