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.001489/0.001489, allocations: 111.7 kB / 17.12 MB, free: 5.945 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.00174/0.00174, allocations: 209 kB / 20.09 MB, free: 2.996 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.027/1.027, allocations: 150 MB / 459.5 MB, free: 5.336 MB / 350.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.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.001993/0.001993, allocations: 70.14 kB / 0.6366 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2048, allocations: 89.13 MB / 0.7236 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002283/0.2071, allocations: 0.6778 MB / 0.7243 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.2091, allocations: 1.305 MB / 0.7256 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.2092, allocations: 0 / 0.7256 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.2092, allocations: 7.922 kB / 0.7256 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.2093, allocations: 23.8 kB / 0.7256 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009236/0.2102, allocations: 308.7 kB / 0.7259 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.2107, allocations: 255.6 kB / 0.7261 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2109, allocations: 16.17 kB / 0.7262 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.211, allocations: 103.8 kB / 0.7263 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.2112, allocations: 91.73 kB / 0.7263 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.2112, allocations: 20 kB / 0.7264 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.2114, allocations: 47.92 kB / 0.7264 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.2114, allocations: 15.92 kB / 0.7264 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.2115, allocations: 87.73 kB / 0.7265 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.2119, allocations: 215.3 kB / 0.7267 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2119, allocations: 0 / 0.7267 GB, free: 428 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2119, allocations: 0 / 0.7267 GB, free: 428 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2119, allocations: 0 / 0.7267 GB, free: 428 kB / 0.5294 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.0009416/0.2128, allocations: 0.4924 MB / 0.7272 GB, free: 15.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.2129, allocations: 8.031 kB / 0.7272 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.213, allocations: 16.89 kB / 0.7272 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.2132, allocations: 172.3 kB / 0.7274 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.2132, allocations: 4.375 kB / 0.7274 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.2133, allocations: 20.36 kB / 0.7274 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2135, allocations: 58.17 kB / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.2135, allocations: 3.938 kB / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.2135, allocations: 0 / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2135, allocations: 4 kB / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.739e-05/0.2136, allocations: 19.98 kB / 0.7275 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007682/0.2143, allocations: 424.5 kB / 0.7279 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.458e-05/0.2144, allocations: 34.5 kB / 0.7279 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/0.2145, allocations: 12.86 kB / 0.7279 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2145, allocations: 12.06 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.2148, allocations: 95.31 kB / 0.728 GB, free: 14.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.2148, allocations: 0 / 0.728 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004045/0.2152, allocations: 141.8 kB / 0.7282 GB, free: 14.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.2153, allocations: 63.42 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.2154, allocations: 131.6 kB / 0.7284 GB, free: 14.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.479e-05/0.2155, allocations: 37.7 kB / 0.7284 GB, free: 14.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2156, allocations: 96.09 kB / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.2156, allocations: 23.92 kB / 0.7285 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.2158, allocations: 69.66 kB / 0.7286 GB, free: 14.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.216, allocations: 322.7 kB / 0.7289 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.2162, allocations: 95.94 kB / 0.729 GB, free: 13.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.2165, allocations: 134 kB / 0.7291 GB, free: 13.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.2169, allocations: 237.8 kB / 0.7293 GB, free: 13.44 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2169, allocations: 0 / 0.7293 GB, free: 13.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007087/0.2176, allocations: 378.5 kB / 0.7297 GB, free: 13.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.2177, allocations: 97.09 kB / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2177, allocations: 4.188 kB / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2177, allocations: 4 kB / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.687e-05/0.2177, allocations: 0 / 0.7298 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.2177, allocations: 7.938 kB / 0.7298 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.2182, allocations: 83.8 kB / 0.7299 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.2183, allocations: 19.97 kB / 0.7299 GB, free: 12.82 MB / 0.545 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.0001423/0.2184, allocations: 134.4 kB / 0.73 GB, free: 12.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2184, allocations: 7.953 kB / 0.73 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.2185, allocations: 12.38 kB / 0.73 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2185, allocations: 0 / 0.73 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2185, allocations: 0 / 0.73 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.2185, allocations: 3.984 kB / 0.7301 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.2187, allocations: 193.6 kB / 0.7302 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2187, allocations: 0 / 0.7302 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.362e-05/0.2187, allocations: 11.94 kB / 0.7302 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2187, allocations: 0 / 0.7302 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2188, allocations: 7.984 kB / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2188, allocations: 4 kB / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2188, allocations: 0 / 0.7303 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.219, allocations: 132.9 kB / 0.7304 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.219, allocations: 89 kB / 0.7305 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.2191, allocations: 7.984 kB / 0.7305 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.333e-05/0.2191, allocations: 8.094 kB / 0.7305 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.2191, allocations: 11.92 kB / 0.7305 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.2191, allocations: 8 kB / 0.7305 GB, free: 12.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.71e-05/0.2192, allocations: 92.25 kB / 0.7306 GB, free: 12.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2192, allocations: 0 / 0.7306 GB, free: 12.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002543/0.2195, allocations: 44 kB / 0.7306 GB, free: 11.96 MB / 0.545 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.0001987/0.2197, allocations: 107.2 kB / 0.7307 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.2202, allocations: 333.9 kB / 0.7311 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2202, allocations: 4 kB / 0.7311 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.2203, allocations: 23.98 kB / 0.7311 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2206, allocations: 25.8 kB / 0.7311 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.2211, allocations: 195.1 kB / 0.7313 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.2216, allocations: 0.6963 MB / 0.732 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.2216, allocations: 4.438 kB / 0.732 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.2217, allocations: 15.42 kB / 0.732 GB, free: 10.48 MB / 0.545 GB Notification: Performance of SimCode: time 7.01e-07/0.2217, allocations: 4 kB / 0.732 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Templates: time 0.006446/0.2281, allocations: 2.632 MB / 0.7346 GB, free: 7.867 MB / 0.545 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.1721936468966305] Failed to read output from testmodel.py, exit status != 0: 0.2355483309365809 0.250270327 0.03555585 Calling exit ...