Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 117.9 kB / 19.7 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00225/0.00225, allocations: 219 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9834/0.9834, allocations: 150 MB / 463.1 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 61.28 kB / 0.6417 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2066, allocations: 89.18 MB / 0.7288 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.00204/0.2086, allocations: 0.6561 MB / 0.7294 GB, free: 164 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2102, allocations: 1.1 MB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.2103, allocations: 0 / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.2103, allocations: 3.938 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.465e-05/0.2104, allocations: 3.938 kB / 0.7305 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.2107, allocations: 51.77 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2108, allocations: 47.84 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.2109, allocations: 12 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.211, allocations: 23.91 kB / 0.7307 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.211, allocations: 23.86 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.211, allocations: 4 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.2111, allocations: 23.98 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.2111, allocations: 7.984 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.716e-05/0.2112, allocations: 23.86 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2113, allocations: 55.8 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2113, allocations: 0 / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2113, allocations: 0 / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2113, allocations: 4 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005867/0.2119, allocations: 298.2 kB / 0.7311 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.212, allocations: 8.031 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.2121, allocations: 8.891 kB / 0.7311 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2122, allocations: 114.5 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2122, allocations: 384 / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.2122, allocations: 4.375 kB / 0.7312 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.2124, allocations: 66.22 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2124, allocations: 192 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2124, allocations: 3.938 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2124, allocations: 4 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2126, allocations: 43.89 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/0.2131, allocations: 255.8 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2132, allocations: 58.48 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.2133, allocations: 28.97 kB / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.2133, allocations: 0 / 0.7316 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.2136, allocations: 75.38 kB / 0.7317 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2136, allocations: 4 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004001/0.214, allocations: 117.6 kB / 0.7318 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.214, allocations: 51.41 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.761e-05/0.2141, allocations: 113.8 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.2141, allocations: 25.7 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.2142, allocations: 84.14 kB / 0.7321 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.2142, allocations: 15.97 kB / 0.7321 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.2143, allocations: 29.7 kB / 0.7321 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.2144, allocations: 314.8 kB / 0.7324 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.2145, allocations: 27.97 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.2146, allocations: 47.41 kB / 0.7325 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002005/0.2148, allocations: 79.28 kB / 0.7326 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.2148, allocations: 4 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002523/0.2151, allocations: 101.6 kB / 0.7327 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2151, allocations: 8 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2151, allocations: 4 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.2151, allocations: 0 / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.2152, allocations: 23.92 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2152, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.2153, allocations: 11.94 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.2153, allocations: 4 kB / 0.7327 GB, free: 12.56 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001037/0.2154, allocations: 129.5 kB / 0.7329 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.036e-05/0.2154, allocations: 4 kB / 0.7329 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.2157, allocations: 102 kB / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.2157, allocations: 0 / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2157, allocations: 0 / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2157, allocations: 3.984 kB / 0.733 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.2161, allocations: 326 kB / 0.7333 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2161, allocations: 8.062 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/0.2162, allocations: 12.03 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.2162, allocations: 7.922 kB / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2162, allocations: 0 / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2162, allocations: 0 / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2162, allocations: 0 / 0.7333 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.2165, allocations: 203.4 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-06/0.2165, allocations: 3.953 kB / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.2165, allocations: 0 / 0.7335 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2166, allocations: 15.98 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.2167, allocations: 3.984 kB / 0.7335 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2167, allocations: 7.938 kB / 0.7335 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.2167, allocations: 83.28 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2167, allocations: 0 / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002502/0.217, allocations: 11.98 kB / 0.7336 GB, free: 11.58 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000147/0.2171, allocations: 103.2 kB / 0.7337 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002547/0.2174, allocations: 63.89 kB / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2174, allocations: 0 / 0.7338 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2175, allocations: 31.97 kB / 0.7338 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.2178, allocations: 12.19 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.2181, allocations: 146 kB / 0.734 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2185, allocations: 0.6807 MB / 0.7346 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.2185, allocations: 11.92 kB / 0.7346 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.2185, allocations: 15.38 kB / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2185, allocations: 0 / 0.7346 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.003607/0.2221, allocations: 0.8166 MB / 0.7354 GB, free: 9.648 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.75830407300964] Failed to read output from testmodel.py, exit status != 0: 0.23076499020680785 0.24603505399999995 0.031689388 Calling exit ...