Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001288/0.001288, allocations: 117.3 kB / 17.76 MB, free: 5.336 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.001289/0.001289, allocations: 184.6 kB / 20.69 MB, free: 2.41 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.418/1.418, allocations: 222.9 MB / 246.4 MB, free: 4.312 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 1.118/1.118, allocations: 147.6 MB / 446.2 MB, free: 8.461 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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 70.23 kB / 0.6121 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1941, allocations: 83.16 MB / 0.6933 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002086/0.1962, allocations: 0.6879 MB / 0.694 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1975, allocations: 0.8709 MB / 0.6948 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.1976, allocations: 3.375 kB / 0.6948 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.1976, allocations: 0 / 0.6948 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.1977, allocations: 11.81 kB / 0.6948 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.1979, allocations: 17.95 kB / 0.6949 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.1981, allocations: 42.81 kB / 0.6949 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1982, allocations: 7.344 kB / 0.6949 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.446e-05/0.1983, allocations: 26.61 kB / 0.6949 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.122e-05/0.1983, allocations: 25.73 kB / 0.695 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1984, allocations: 3.969 kB / 0.695 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.1984, allocations: 3.625 kB / 0.695 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.1984, allocations: 4 kB / 0.695 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.1984, allocations: 23.73 kB / 0.695 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.1986, allocations: 43.33 kB / 0.695 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1986, allocations: 0 / 0.695 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1986, allocations: 0 / 0.695 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.1986, allocations: 0 / 0.695 GB, free: 11.81 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006528/0.1993, allocations: 356.1 kB / 0.6954 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1993, allocations: 8.25 kB / 0.6954 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1994, allocations: 7.641 kB / 0.6954 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1995, allocations: 175.1 kB / 0.6955 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1996, allocations: 5.75 kB / 0.6956 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.1996, allocations: 5.75 kB / 0.6956 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.1999, allocations: 66.66 kB / 0.6956 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1999, allocations: 1.531 kB / 0.6956 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.1999, allocations: 7.938 kB / 0.6956 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.1999, allocations: 1.312 kB / 0.6956 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2003, allocations: 67.08 kB / 0.6957 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.2007, allocations: 262.4 kB / 0.6959 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.201, allocations: 67.98 kB / 0.696 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.2011, allocations: 39.45 kB / 0.696 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.2012, allocations: 0.8125 kB / 0.696 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2012, allocations: 35.5 kB / 0.6961 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2012, allocations: 1.562 kB / 0.6961 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006023/0.2018, allocations: 129.4 kB / 0.6962 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.2019, allocations: 51.41 kB / 0.6963 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.202, allocations: 115.9 kB / 0.6964 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.202, allocations: 26.73 kB / 0.6964 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.2021, allocations: 89.19 kB / 0.6965 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.2021, allocations: 13.06 kB / 0.6965 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.2022, allocations: 13 kB / 0.6965 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2024, allocations: 323.9 kB / 0.6968 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2025, allocations: 33.73 kB / 0.6968 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2027, allocations: 29.34 kB / 0.6969 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.203, allocations: 71.31 kB / 0.6969 GB, free: 9.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.203, allocations: 5.062 kB / 0.6969 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003477/0.2033, allocations: 97.02 kB / 0.697 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2034, allocations: 5.75 kB / 0.697 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2034, allocations: 0 / 0.697 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2034, allocations: 0 / 0.697 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.2035, allocations: 22.22 kB / 0.6971 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2036, allocations: 5.75 kB / 0.6971 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.947e-05/0.2037, allocations: 10.58 kB / 0.6971 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2037, allocations: 1.875 kB / 0.6971 GB, free: 9.836 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/0.2038, allocations: 115.8 kB / 0.6972 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.2038, allocations: 1.938 kB / 0.6972 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.2038, allocations: 3.906 kB / 0.6972 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2038, allocations: 1.969 kB / 0.6972 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2039, allocations: 0 / 0.6972 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2039, allocations: 7.984 kB / 0.6972 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2041, allocations: 169.2 kB / 0.6974 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2041, allocations: 0 / 0.6974 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.2042, allocations: 19.73 kB / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2042, allocations: 0 / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.2042, allocations: 0 / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2042, allocations: 0 / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2042, allocations: 2 kB / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.2047, allocations: 206.8 kB / 0.6976 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2047, allocations: 82.45 kB / 0.6977 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2047, allocations: 1.25 kB / 0.6977 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.2049, allocations: 11.39 kB / 0.6977 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.2049, allocations: 9.359 kB / 0.6977 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.2049, allocations: 5.406 kB / 0.6977 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.621e-05/0.205, allocations: 90.27 kB / 0.6978 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.205, allocations: 0 / 0.6978 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002128/0.2052, allocations: 9.844 kB / 0.6978 GB, free: 9.102 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.2054, allocations: 95.66 kB / 0.6979 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.2058, allocations: 75.34 kB / 0.6979 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2058, allocations: 0 / 0.6979 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.2059, allocations: 37.12 kB / 0.698 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.2063, allocations: 25.23 kB / 0.698 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.2067, allocations: 137.5 kB / 0.6981 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.207, allocations: 0.6837 MB / 0.6988 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.2071, allocations: 14.19 kB / 0.6988 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.2071, allocations: 0 / 0.6988 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.002863/0.21, allocations: 0.7348 MB / 0.6995 GB, free: 7.723 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.991724584950134] Failed to read output from testmodel.py, exit status != 0: 0.527994398958981 0.232659833 0.031296899 Calling exit ...