Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 114.4 kB / 19.59 MB, free: 2.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 191.3 kB / 22.85 MB, free: 5.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 251.5 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9882/0.9882, allocations: 149.5 MB / 456.3 MB, free: 1.223 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 68.22 kB / 0.6324 GB, free: 9.078 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2078, allocations: 87.88 MB / 0.7182 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002167/0.2099, allocations: 0.8121 MB / 0.719 GB, free: 312 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2118, allocations: 1.299 MB / 0.7203 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.912e-05/0.2119, allocations: 0 / 0.7203 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.2119, allocations: 11.86 kB / 0.7203 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.212, allocations: 19.81 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2131, allocations: 328.2 kB / 0.7206 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.2134, allocations: 291.5 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2136, allocations: 29.62 kB / 0.7209 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.2138, allocations: 115.8 kB / 0.721 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.214, allocations: 115.6 kB / 0.7212 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.214, allocations: 24 kB / 0.7212 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2142, allocations: 39.92 kB / 0.7212 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.2142, allocations: 31.86 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.2144, allocations: 107.7 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.2147, allocations: 267.1 kB / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2147, allocations: 0 / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2147, allocations: 0 / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2147, allocations: 0 / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007978/0.2155, allocations: 454.9 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2156, allocations: 12.62 kB / 0.722 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.2157, allocations: 24.84 kB / 0.7221 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.2159, allocations: 131.6 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.2159, allocations: 16.12 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.976e-05/0.216, allocations: 24 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.2162, allocations: 84.58 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2162, allocations: 0 / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2162, allocations: 7.984 kB / 0.7223 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.2163, allocations: 4 kB / 0.7223 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.2164, allocations: 47.92 kB / 0.7224 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008168/0.2172, allocations: 467.3 kB / 0.7228 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.2174, allocations: 78.55 kB / 0.7229 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.361e-05/0.2175, allocations: 24.92 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.2175, allocations: 0 / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.2178, allocations: 111.4 kB / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2178, allocations: 0 / 0.723 GB, free: 12.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0004221/0.2182, allocations: 180.8 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.2182, allocations: 55.41 kB / 0.7232 GB, free: 11.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.2184, allocations: 165 kB / 0.7234 GB, free: 11.63 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.2185, allocations: 37.7 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2186, allocations: 108.1 kB / 0.7235 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.2186, allocations: 31.75 kB / 0.7236 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.2188, allocations: 73.67 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2189, allocations: 322.8 kB / 0.724 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.2191, allocations: 103.9 kB / 0.7241 GB, free: 10.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2194, allocations: 144.5 kB / 0.7242 GB, free: 10.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.2197, allocations: 253 kB / 0.7244 GB, free: 10.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2197, allocations: 0 / 0.7244 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008152/0.2206, allocations: 414.2 kB / 0.7248 GB, free: 10.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/0.2207, allocations: 101.1 kB / 0.7249 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2207, allocations: 8.125 kB / 0.7249 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2207, allocations: 4 kB / 0.7249 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.2208, allocations: 15.94 kB / 0.7249 GB, free: 9.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.2208, allocations: 3.984 kB / 0.725 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/0.2213, allocations: 83.8 kB / 0.725 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.2213, allocations: 23.97 kB / 0.7251 GB, free: 9.816 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: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001636/0.2215, allocations: 137.8 kB / 0.7252 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2215, allocations: 19.84 kB / 0.7252 GB, free: 9.652 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.2215, allocations: 12.78 kB / 0.7252 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2216, allocations: 7.984 kB / 0.7252 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2216, allocations: 0 / 0.7252 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2216, allocations: 0 / 0.7252 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.2218, allocations: 184.7 kB / 0.7254 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2218, allocations: 0 / 0.7254 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.2218, allocations: 27.92 kB / 0.7254 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2218, allocations: 0 / 0.7254 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2218, allocations: 3.984 kB / 0.7254 GB, free: 9.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2219, allocations: 4 kB / 0.7254 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2219, allocations: 0 / 0.7254 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.2221, allocations: 160.9 kB / 0.7256 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.2221, allocations: 11.89 kB / 0.7256 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.2222, allocations: 8 kB / 0.7256 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.843e-05/0.2222, allocations: 7.984 kB / 0.7256 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.2222, allocations: 11.98 kB / 0.7256 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2223, allocations: 4 kB / 0.7256 GB, free: 9.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.998e-05/0.2224, allocations: 117.4 kB / 0.7257 GB, free: 9.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2224, allocations: 0 / 0.7257 GB, free: 9.039 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002811/0.2226, allocations: 55.89 kB / 0.7258 GB, free: 8.984 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0001835/0.2228, allocations: 107.2 kB / 0.7259 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.2234, allocations: 346.1 kB / 0.7262 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2234, allocations: 0 / 0.7262 GB, free: 8.496 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.2235, allocations: 43.92 kB / 0.7263 GB, free: 8.453 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2238, allocations: 36.94 kB / 0.7263 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.2243, allocations: 243.8 kB / 0.7265 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.2247, allocations: 0.7123 MB / 0.7272 GB, free: 7.418 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.2247, allocations: 12.64 kB / 0.7272 GB, free: 7.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.2247, allocations: 15.44 kB / 0.7273 GB, free: 7.391 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2248, allocations: 0 / 0.7273 GB, free: 7.391 MB / 0.545 GB Notification: Performance of Templates: time 0.007403/0.2322, allocations: 2.847 MB / 0.73 GB, free: 4.578 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2295206328853965] Failed to read output from testmodel.py, exit status != 0: 0.2418637052178383 0.258134193 0.039900443 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe40ad017b0>