Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.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.001265/0.001265, allocations: 112 kB / 17.12 MB, free: 6.008 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.001361/0.001361, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.574/1.574, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.014/1.014, allocations: 150 MB / 459.5 MB, free: 5.312 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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") [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.002045/0.002045, allocations: 71.97 kB / 0.6366 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2199, allocations: 89.13 MB / 0.7236 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001999/0.2219, allocations: 0.6429 MB / 0.7243 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2236, allocations: 1.223 MB / 0.7255 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.048e-05/0.2236, allocations: 0 / 0.7255 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.2237, allocations: 0 / 0.7255 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.2237, allocations: 23.78 kB / 0.7255 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006625/0.2244, allocations: 217.1 kB / 0.7257 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002517/0.2247, allocations: 167.8 kB / 0.7258 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.2248, allocations: 15.97 kB / 0.7259 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2249, allocations: 75.83 kB / 0.7259 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.225, allocations: 59.84 kB / 0.726 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.225, allocations: 16 kB / 0.726 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.2251, allocations: 27.98 kB / 0.726 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.2252, allocations: 15.92 kB / 0.726 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.01e-05/0.2252, allocations: 55.88 kB / 0.7261 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002408/0.2255, allocations: 151.5 kB / 0.7262 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2255, allocations: 0 / 0.7262 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2255, allocations: 0 / 0.7262 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.2255, allocations: 4 kB / 0.7262 GB, free: 0.8828 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006314/0.2261, allocations: 442.6 kB / 0.7267 GB, free: 396 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2262, allocations: 11.97 kB / 0.7267 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.913e-05/0.2262, allocations: 8.938 kB / 0.7267 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2264, allocations: 172.3 kB / 0.7269 GB, free: 164 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.2264, allocations: 12.36 kB / 0.7269 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.4e-05/0.2264, allocations: 8.375 kB / 0.7269 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.2266, allocations: 46.25 kB / 0.7269 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2266, allocations: 192 / 0.7269 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.2266, allocations: 7.938 kB / 0.7269 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2266, allocations: 0 / 0.7269 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.971e-05/0.2266, allocations: 19.98 kB / 0.7269 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.2272, allocations: 352.8 kB / 0.7273 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.2273, allocations: 38.44 kB / 0.7273 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.2273, allocations: 16.86 kB / 0.7273 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.237e-05/0.2273, allocations: 0 / 0.7273 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.2275, allocations: 83.45 kB / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2275, allocations: 0 / 0.7274 GB, free: 15.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002631/0.2278, allocations: 109.5 kB / 0.7275 GB, free: 15.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.2278, allocations: 55.41 kB / 0.7276 GB, free: 15.33 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2279, allocations: 121.7 kB / 0.7277 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.2279, allocations: 29.7 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.31e-05/0.228, allocations: 96.12 kB / 0.7278 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.228, allocations: 11.91 kB / 0.7278 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.2281, allocations: 53.69 kB / 0.7279 GB, free: 15 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2283, allocations: 322.8 kB / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.2284, allocations: 59.97 kB / 0.7282 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2286, allocations: 100.2 kB / 0.7283 GB, free: 14.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.2288, allocations: 160 kB / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2288, allocations: 0 / 0.7285 GB, free: 14.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004575/0.2292, allocations: 268.8 kB / 0.7287 GB, free: 14.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.2293, allocations: 71.39 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2293, allocations: 128 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2293, allocations: 8 kB / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-05/0.2294, allocations: 0 / 0.7288 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.2294, allocations: 4.375 kB / 0.7288 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.2297, allocations: 55.89 kB / 0.7289 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.2297, allocations: 15.98 kB / 0.7289 GB, free: 13.87 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,xor1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001122/0.2299, allocations: 129.7 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.2299, allocations: 7.984 kB / 0.729 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.281e-05/0.2299, allocations: 12.36 kB / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2299, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2299, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.2299, allocations: 0 / 0.729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.2301, allocations: 185.5 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2301, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.2301, allocations: 4 kB / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2301, allocations: 0 / 0.7292 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.2301, allocations: 4 kB / 0.7292 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2301, allocations: 7.984 kB / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2301, allocations: 0 / 0.7292 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.2303, allocations: 109 kB / 0.7293 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.132e-05/0.2303, allocations: 85.06 kB / 0.7294 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.2303, allocations: 4 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.317e-05/0.2304, allocations: 7.922 kB / 0.7294 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.2304, allocations: 4 kB / 0.7294 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.2304, allocations: 12 kB / 0.7294 GB, free: 13.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.2305, allocations: 95.2 kB / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2305, allocations: 0 / 0.7295 GB, free: 13.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000234/0.2307, allocations: 28 kB / 0.7295 GB, free: 13.09 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001641/0.2309, allocations: 103.2 kB / 0.7296 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003609/0.2312, allocations: 226.6 kB / 0.7299 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2312, allocations: 0 / 0.7299 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.968e-05/0.2313, allocations: 28.17 kB / 0.7299 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.2315, allocations: 15.98 kB / 0.7299 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.2319, allocations: 150.6 kB / 0.73 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.2322, allocations: 0.6846 MB / 0.7307 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.2322, allocations: 4 kB / 0.7307 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.2322, allocations: 19.42 kB / 0.7307 GB, free: 11.78 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2322, allocations: 0 / 0.7307 GB, free: 11.78 MB / 0.545 GB Notification: Performance of Templates: time 0.00508/0.2373, allocations: 1.863 MB / 0.7326 GB, free: 9.941 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.185177161125466] Failed to read output from testmodel.py, exit status != 0: 0.244574966840446 0.25826334 0.029964272000000004 Calling exit ...