Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001892/0.001892, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002226/0.002226, allocations: 214.8 kB / 22.99 MB, free: 4.977 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9653/0.9653, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 178] 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [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.002132/0.002132, allocations: 67.16 kB / 0.6416 GB, free: 9.59 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.203, allocations: 89.17 MB / 0.7286 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.00252/0.2055, allocations: 0.7126 MB / 0.7293 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.2075, allocations: 1.163 MB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.2076, allocations: 0 / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/0.2076, allocations: 3.938 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.343e-05/0.2077, allocations: 15.86 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.2083, allocations: 134.9 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.2086, allocations: 119.8 kB / 0.7307 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2087, allocations: 11.98 kB / 0.7307 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.2088, allocations: 51.89 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.2089, allocations: 39.83 kB / 0.7308 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.022e-05/0.2089, allocations: 12 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.45e-05/0.209, allocations: 27.92 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.2091, allocations: 11.92 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.2091, allocations: 35.91 kB / 0.7309 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.2094, allocations: 111.6 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2094, allocations: 0 / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2094, allocations: 0 / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2094, allocations: 0 / 0.731 GB, free: 14.03 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.0007091/0.2101, allocations: 339.8 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2101, allocations: 12.03 kB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.2102, allocations: 12.88 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.2103, allocations: 125.8 kB / 0.7315 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.2104, allocations: 8.375 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.2104, allocations: 8.375 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.2106, allocations: 70.14 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.2106, allocations: 192 / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.2106, allocations: 3.938 kB / 0.7316 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.2107, allocations: 4 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/0.2108, allocations: 39.95 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.2114, allocations: 252.5 kB / 0.7319 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.2116, allocations: 54.48 kB / 0.7319 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.2117, allocations: 44.95 kB / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.2117, allocations: 0 / 0.732 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.212, allocations: 95.31 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.843e-06/0.212, allocations: 0 / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004643/0.2124, allocations: 141.6 kB / 0.7322 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.2125, allocations: 55.41 kB / 0.7322 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2126, allocations: 121.8 kB / 0.7323 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.2126, allocations: 29.69 kB / 0.7324 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.036e-05/0.2127, allocations: 88.14 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.2127, allocations: 19.91 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.2128, allocations: 41.69 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2129, allocations: 318.8 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.2131, allocations: 81.66 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.2133, allocations: 110 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.2137, allocations: 150.2 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2137, allocations: 0 / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005106/0.2142, allocations: 252.8 kB / 0.7334 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.2142, allocations: 33.64 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2142, allocations: 4 kB / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.2142, allocations: 0 / 0.7334 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2143, allocations: 23.98 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2143, allocations: 4 kB / 0.7335 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.2146, allocations: 43.84 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2146, allocations: 4 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001124/0.2147, allocations: 125.8 kB / 0.7336 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.2147, allocations: 11.95 kB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/0.2147, allocations: 4.375 kB / 0.7336 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2148, allocations: 8 kB / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2148, allocations: 0 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2148, allocations: 0 / 0.7336 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004785/0.2152, allocations: 318.1 kB / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2152, allocations: 0 / 0.7339 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.2153, allocations: 7.984 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2153, allocations: 4 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.2153, allocations: 0 / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2153, allocations: 0 / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2153, allocations: 4 kB / 0.734 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.2157, allocations: 215.3 kB / 0.7342 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.395e-05/0.2157, allocations: 7.953 kB / 0.7342 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.2157, allocations: 7.984 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.2158, allocations: 8 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.2158, allocations: 3.984 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.2158, allocations: 8.062 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.075e-05/0.2159, allocations: 91.27 kB / 0.7343 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2159, allocations: 4 kB / 0.7343 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002791/0.2162, allocations: 27.94 kB / 0.7343 GB, free: 10.34 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0001581/0.2163, allocations: 103.2 kB / 0.7344 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.2168, allocations: 196.9 kB / 0.7346 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2168, allocations: 0 / 0.7346 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.2169, allocations: 44.08 kB / 0.7346 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.2172, allocations: 16 kB / 0.7347 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.2176, allocations: 158.8 kB / 0.7348 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.2177, allocations: 67.34 kB / 0.7349 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.2177, allocations: 11.84 kB / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.401e-05/0.2178, allocations: 11.44 kB / 0.7349 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.2178, allocations: 0 / 0.7349 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of Templates: time 0.005173/0.2229, allocations: 1.605 MB / 0.7365 GB, free: 8.102 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9260990265756845] Failed to read output from testmodel.py, exit status != 0: 0.23198972456157207 0.247313322 0.034791246000000005 Calling exit ...