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.001383/0.001383, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001651/0.001651, allocations: 224.8 kB / 23.01 MB, free: 5.043 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.593/1.593, allocations: 230.6 MB / 256.8 MB, free: 8 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 1.037/1.037, allocations: 150 MB / 463.1 MB, free: 10.45 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.002169/0.002169, allocations: 64.03 kB / 0.6417 GB, free: 9.832 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2299, allocations: 89.18 MB / 0.7288 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002161/0.232, allocations: 0.7283 MB / 0.7295 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.2338, allocations: 1.182 MB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.472e-05/0.2339, allocations: 0 / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.2339, allocations: 7.875 kB / 0.7307 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.767e-05/0.234, allocations: 11.92 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005467/0.2345, allocations: 145.3 kB / 0.7308 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002042/0.2347, allocations: 115.8 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.424e-05/0.2348, allocations: 15.97 kB / 0.731 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.261e-05/0.2349, allocations: 43.86 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.235, allocations: 55.8 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.2351, allocations: 12 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.2351, allocations: 19.98 kB / 0.7311 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.2352, allocations: 12 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.523e-05/0.2352, allocations: 39.84 kB / 0.7311 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.2354, allocations: 115.6 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2354, allocations: 4 kB / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2354, allocations: 0 / 0.7313 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.2354, allocations: 0 / 0.7313 GB, free: 14.21 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.0006454/0.2361, allocations: 331.8 kB / 0.7316 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2361, allocations: 12.03 kB / 0.7316 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.249e-05/0.2362, allocations: 8.891 kB / 0.7316 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2363, allocations: 126.4 kB / 0.7317 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2363, allocations: 4.375 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2364, allocations: 8.375 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.2366, allocations: 66.22 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2366, allocations: 192 / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2366, allocations: 3.938 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2366, allocations: 4 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.2368, allocations: 39.95 kB / 0.7318 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.2374, allocations: 311.8 kB / 0.7321 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.2376, allocations: 62.48 kB / 0.7322 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.2377, allocations: 32.95 kB / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.2377, allocations: 0 / 0.7322 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.238, allocations: 99.25 kB / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.238, allocations: 0 / 0.7323 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004995/0.2385, allocations: 133.6 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.2385, allocations: 55.41 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2387, allocations: 117.8 kB / 0.7326 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.2387, allocations: 33.7 kB / 0.7326 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.2388, allocations: 96.12 kB / 0.7327 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2388, allocations: 19.97 kB / 0.7328 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.127e-05/0.2389, allocations: 37.69 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001876/0.2391, allocations: 318.8 kB / 0.7331 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.2393, allocations: 51.95 kB / 0.7331 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2395, allocations: 94.81 kB / 0.7332 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.2398, allocations: 137.8 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.2398, allocations: 8 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004858/0.2403, allocations: 203.2 kB / 0.7336 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.2403, allocations: 33.7 kB / 0.7336 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2403, allocations: 4 kB / 0.7336 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2403, allocations: 0 / 0.7336 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.2404, allocations: 15.92 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2404, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.2407, allocations: 47.97 kB / 0.7337 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2407, allocations: 4 kB / 0.7337 GB, free: 11.49 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.0001119/0.2408, allocations: 128.2 kB / 0.7338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.2408, allocations: 7.953 kB / 0.7338 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.2408, allocations: 12.31 kB / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2408, allocations: 0 / 0.7338 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.2408, allocations: 11.94 kB / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2408, allocations: 0 / 0.7338 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004913/0.2413, allocations: 345.5 kB / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.2413, allocations: 3.984 kB / 0.7342 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.2414, allocations: 7.984 kB / 0.7342 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2414, allocations: 4 kB / 0.7342 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2414, allocations: 3.938 kB / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2414, allocations: 4 kB / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2414, allocations: 0 / 0.7342 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.2417, allocations: 207.4 kB / 0.7344 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.2417, allocations: 11.95 kB / 0.7344 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2417, allocations: 64 / 0.7344 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.2418, allocations: 11.98 kB / 0.7344 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2419, allocations: 15.92 kB / 0.7344 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2419, allocations: 11.94 kB / 0.7344 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.2419, allocations: 91.27 kB / 0.7345 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2419, allocations: 0 / 0.7345 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002633/0.2422, allocations: 23.94 kB / 0.7345 GB, free: 10.54 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.0001638/0.2424, allocations: 111.2 kB / 0.7346 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004057/0.2428, allocations: 163.3 kB / 0.7348 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2428, allocations: 0 / 0.7348 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.2429, allocations: 35.97 kB / 0.7348 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.2432, allocations: 12.61 kB / 0.7348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004427/0.2436, allocations: 154.8 kB / 0.735 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.244, allocations: 0.6926 MB / 0.7357 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.114e-05/0.2441, allocations: 4 kB / 0.7357 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.2441, allocations: 11.44 kB / 0.7357 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2441, allocations: 0 / 0.7357 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of Templates: time 0.005259/0.2494, allocations: 1.487 MB / 0.7371 GB, free: 7.816 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: 6.256158204283565] Failed to read output from testmodel.py, exit status != 0: 0.2584251961670816 0.27408064699999996 0.035367657000000004 Calling exit ...