Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001822/0.001822, allocations: 119.2 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.002044/0.002044, allocations: 225.6 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.551/1.551, 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 1.054/1.054, allocations: 150 MB / 463.1 MB, free: 10.49 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [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.002218/0.002218, allocations: 66.14 kB / 0.6417 GB, free: 9.871 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2131, allocations: 89.17 MB / 0.7288 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002204/0.2153, allocations: 0.6913 MB / 0.7295 GB, free: 84 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002153/0.2174, allocations: 1.299 MB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.974e-05/0.2175, allocations: 0 / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.2175, allocations: 11.92 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.2177, allocations: 15.86 kB / 0.7308 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2187, allocations: 311.4 kB / 0.7311 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.219, allocations: 259.5 kB / 0.7313 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2191, allocations: 20.16 kB / 0.7314 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.2193, allocations: 95.88 kB / 0.7314 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2195, allocations: 99.73 kB / 0.7315 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2195, allocations: 20 kB / 0.7316 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.2196, allocations: 35.98 kB / 0.7316 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.2196, allocations: 19.92 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.2198, allocations: 79.81 kB / 0.7317 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.22, allocations: 227.3 kB / 0.7319 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.22, allocations: 4 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.22, allocations: 3.938 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.2201, allocations: 0 / 0.7319 GB, free: 13.6 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.0006593/0.2207, allocations: 419.1 kB / 0.7323 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2208, allocations: 8.031 kB / 0.7323 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.035e-05/0.2208, allocations: 16.89 kB / 0.7323 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.221, allocations: 114.5 kB / 0.7324 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.221, allocations: 16.36 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.221, allocations: 12.38 kB / 0.7325 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2212, allocations: 62.22 kB / 0.7325 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2212, allocations: 3.938 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.2212, allocations: 0 / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2212, allocations: 4 kB / 0.7325 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.2213, allocations: 23.92 kB / 0.7326 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.2219, allocations: 383.6 kB / 0.7329 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.699e-05/0.222, allocations: 34.56 kB / 0.733 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.222, allocations: 20.86 kB / 0.733 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.222, allocations: 3.938 kB / 0.733 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002675/0.2223, allocations: 99.33 kB / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.2223, allocations: 0 / 0.7331 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.000331/0.2226, allocations: 141.5 kB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.2227, allocations: 55.41 kB / 0.7333 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2228, allocations: 133.8 kB / 0.7334 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.2229, allocations: 33.7 kB / 0.7334 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.223, allocations: 104.2 kB / 0.7335 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.223, allocations: 19.86 kB / 0.7335 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2231, allocations: 69.66 kB / 0.7336 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2233, allocations: 322.8 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.2235, allocations: 95.88 kB / 0.734 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.2237, allocations: 138 kB / 0.7341 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.224, allocations: 231 kB / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.224, allocations: 0 / 0.7344 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006218/0.2246, allocations: 384.4 kB / 0.7347 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.2247, allocations: 101.1 kB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2247, allocations: 3.984 kB / 0.7348 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.2247, allocations: 7.938 kB / 0.7348 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.578e-05/0.2248, allocations: 4 kB / 0.7348 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2248, allocations: 0 / 0.7348 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.2253, allocations: 87.98 kB / 0.7349 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.2253, allocations: 19.97 kB / 0.7349 GB, free: 10.19 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001287/0.2255, allocations: 133.7 kB / 0.7351 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.2255, allocations: 11.95 kB / 0.7351 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.2255, allocations: 12.38 kB / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2255, allocations: 0 / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.2255, allocations: 0 / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2255, allocations: 0 / 0.7351 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.2257, allocations: 165 kB / 0.7353 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2257, allocations: 0 / 0.7353 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-06/0.2257, allocations: 0 / 0.7353 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2257, allocations: 0 / 0.7353 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2257, allocations: 11.92 kB / 0.7353 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2257, allocations: 0 / 0.7353 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2257, allocations: 4 kB / 0.7353 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.2259, allocations: 140.9 kB / 0.7354 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.226, allocations: 7.891 kB / 0.7354 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.226, allocations: 7.984 kB / 0.7354 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.414e-05/0.226, allocations: 4 kB / 0.7354 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.226, allocations: 11.92 kB / 0.7354 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2261, allocations: 4 kB / 0.7354 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001106/0.2262, allocations: 106.2 kB / 0.7355 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2262, allocations: 0 / 0.7355 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002737/0.2264, allocations: 40 kB / 0.7356 GB, free: 9.477 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001653/0.2266, allocations: 108.9 kB / 0.7357 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.2271, allocations: 325.9 kB / 0.736 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2271, allocations: 0 / 0.736 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.677e-05/0.2272, allocations: 32.36 kB / 0.736 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.2275, allocations: 34.83 kB / 0.7361 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.2278, allocations: 199.2 kB / 0.7362 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2282, allocations: 0.6962 MB / 0.7369 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.2282, allocations: 12.42 kB / 0.7369 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.2282, allocations: 19.38 kB / 0.737 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2282, allocations: 0 / 0.737 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of Templates: time 0.006263/0.2345, allocations: 2.641 MB / 0.7395 GB, free: 5.359 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.240709349978715] Failed to read output from testmodel.py, exit status != 0: 0.24332108721137047 0.25867842900000004 0.035491289 Calling exit ...