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.0008994/0.0008994, allocations: 76.55 kB / 19.92 MB, free: 4.637 MB / 18.57 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.00117/0.00117, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8723/0.8723, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5483/0.5483, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.488e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001136/0.001151, allocations: 0.6537 MB / 0.5548 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.002256, allocations: 1.197 MB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.002301, allocations: 0 / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.002331, allocations: 7.938 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.672e-05/0.002398, allocations: 11.92 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.002943, allocations: 220.7 kB / 0.5562 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002687/0.003212, allocations: 175.7 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.003334, allocations: 11.98 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.00346, allocations: 91.92 kB / 0.5565 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.003597, allocations: 51.86 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.003629, allocations: 16 kB / 0.5566 GB, free: 380 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.497e-05/0.003704, allocations: 31.97 kB / 0.5566 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.00373, allocations: 7.984 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.003796, allocations: 55.89 kB / 0.5566 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.00402, allocations: 183.5 kB / 0.5568 GB, free: 100 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.004022, allocations: 3.938 kB / 0.5568 GB, free: 96 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.183e-06/0.004024, allocations: 0 / 0.5568 GB, free: 96 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.00403, allocations: 0 / 0.5568 GB, free: 96 kB / 0.5105 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.0005115/0.004542, allocations: 361.5 kB / 0.5572 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.004594, allocations: 8.625 kB / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.004628, allocations: 38.75 kB / 0.5572 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.004678, allocations: 12.89 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.63e-05/0.004774, allocations: 109.8 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.004793, allocations: 4.375 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.004815, allocations: 12.36 kB / 0.5574 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.004935, allocations: 50.25 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.004944, allocations: 192 / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.004953, allocations: 384 / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004958, allocations: 4.125 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.004994, allocations: 23.86 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.005352, allocations: 295.9 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.00542, allocations: 38.56 kB / 0.5577 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.00544, allocations: 12.86 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.005449, allocations: 3.938 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.005584, allocations: 95.33 kB / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.005585, allocations: 0 / 0.5579 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.000191/0.005776, allocations: 101.7 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.005809, allocations: 55.41 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.699e-05/0.005876, allocations: 121.8 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.005897, allocations: 29.7 kB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.005944, allocations: 100.1 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.005956, allocations: 11.89 kB / 0.5583 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.006012, allocations: 49.69 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.006084, allocations: 322.8 kB / 0.5586 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.006195, allocations: 115.4 kB / 0.5587 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.006308, allocations: 163.6 kB / 0.5589 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.006431, allocations: 151.6 kB / 0.559 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.006435, allocations: 7.938 kB / 0.559 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000293/0.006728, allocations: 328.7 kB / 0.5593 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.006772, allocations: 71.33 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.00678, allocations: 4 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.006794, allocations: 0 / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/0.006816, allocations: 7.938 kB / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.006822, allocations: 64 / 0.5594 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.007025, allocations: 60.06 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.00705, allocations: 11.98 kB / 0.5595 GB, free: 13.05 MB / 0.5261 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 8.298e-05/0.007133, allocations: 129.7 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.007141, allocations: 3.953 kB / 0.5596 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.007169, allocations: 12.44 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.007173, allocations: 3.984 kB / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.007179, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.007182, allocations: 0 / 0.5596 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.00745, allocations: 140.7 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007451, allocations: 4 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-06/0.007458, allocations: 8 kB / 0.5598 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.007462, allocations: 3.984 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.00747, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.007472, allocations: 3.938 kB / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007472, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.007585, allocations: 117.3 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.066e-05/0.007595, allocations: 7.953 kB / 0.5599 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.007609, allocations: 4 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.007623, allocations: 0 / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.007671, allocations: 15.98 kB / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007676, allocations: 0 / 0.5599 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.007713, allocations: 91.27 kB / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.007713, allocations: 0 / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001643/0.007877, allocations: 28 kB / 0.56 GB, free: 12.42 MB / 0.5261 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.0003725/0.008249, allocations: 0.6593 MB / 0.5607 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.008515, allocations: 282 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.008517, allocations: 0 / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.943e-05/0.008546, allocations: 24.23 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.008708, allocations: 24.2 kB / 0.561 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.01002, allocations: 1.968 MB / 0.5629 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.01006, allocations: 71.33 kB / 0.563 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.132e-05/0.01008, allocations: 4 kB / 0.563 GB, free: 9.141 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.01012, allocations: 24.48 kB / 0.563 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.01012, allocations: 0 / 0.563 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.02422, allocations: 3.767 MB / 0.5667 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.062/7.086, allocations: 3.375 kB / 0.5667 GB, free: 5.539 MB / 0.5261 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Xor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.502614594064653] Failed to read output from testmodel.py, exit status != 0: 7.166595734655857 7.176132035 7.17047475 Calling exit ...