Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.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.001267/0.001267, allocations: 120.1 kB / 17.84 MB, free: 5.234 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.001365/0.001365, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.575/1.575, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.066/1.066, allocations: 150 MB / 460.2 MB, free: 5.703 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And",fmuType="cs",version="2.0",platforms={"static"}) [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.00294/0.00294, allocations: 74.39 kB / 0.6368 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2269, allocations: 89.13 MB / 0.7238 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.And): time 0.001992/0.2289, allocations: 0.6373 MB / 0.7245 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2307, allocations: 1.227 MB / 0.7257 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.2308, allocations: 3.938 kB / 0.7257 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.107e-05/0.2308, allocations: 7.938 kB / 0.7257 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.861e-05/0.2309, allocations: 11.86 kB / 0.7257 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.2315, allocations: 213.3 kB / 0.7259 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2318, allocations: 171.8 kB / 0.7261 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.963e-05/0.2319, allocations: 4 kB / 0.7261 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.232, allocations: 71.88 kB / 0.7261 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2321, allocations: 63.84 kB / 0.7262 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.96e-05/0.2322, allocations: 16 kB / 0.7262 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.2323, allocations: 27.98 kB / 0.7262 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.2323, allocations: 19.86 kB / 0.7263 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.2324, allocations: 51.89 kB / 0.7263 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000274/0.2326, allocations: 151.8 kB / 0.7264 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2326, allocations: 3.938 kB / 0.7265 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2326, allocations: 4 kB / 0.7265 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2327, allocations: 0 / 0.7265 GB, free: 1.395 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.0006589/0.2333, allocations: 434.6 kB / 0.7269 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2334, allocations: 16.03 kB / 0.7269 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.418e-05/0.2334, allocations: 192 / 0.7269 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.809e-05/0.2334, allocations: 34.73 kB / 0.7269 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.2335, allocations: 8.938 kB / 0.7269 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.2336, allocations: 168.3 kB / 0.7271 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.2337, allocations: 8.375 kB / 0.7271 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.2337, allocations: 8.375 kB / 0.7271 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.2338, allocations: 53.92 kB / 0.7272 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2338, allocations: 0 / 0.7272 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.2338, allocations: 4 kB / 0.7272 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.2339, allocations: 7.984 kB / 0.7272 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.2339, allocations: 19.98 kB / 0.7272 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.2346, allocations: 352.7 kB / 0.7275 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.962e-05/0.2347, allocations: 30.52 kB / 0.7275 GB, free: 100 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.2347, allocations: 16.94 kB / 0.7276 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2347, allocations: 4 kB / 0.7276 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.2349, allocations: 79.45 kB / 0.7276 GB, free: 15.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.2349, allocations: 0 / 0.7276 GB, free: 15.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002839/0.2352, allocations: 105.5 kB / 0.7277 GB, free: 15.87 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.2353, allocations: 55.41 kB / 0.7278 GB, free: 15.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.2354, allocations: 121.8 kB / 0.7279 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.2354, allocations: 33.7 kB / 0.7279 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.2355, allocations: 92.05 kB / 0.728 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2355, allocations: 15.91 kB / 0.728 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2357, allocations: 54.06 kB / 0.7281 GB, free: 15.47 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.2358, allocations: 322.8 kB / 0.7284 GB, free: 15.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.236, allocations: 59.97 kB / 0.7285 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.2361, allocations: 94.44 kB / 0.7286 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.2364, allocations: 159.6 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2364, allocations: 4 kB / 0.7287 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004886/0.2369, allocations: 264.9 kB / 0.729 GB, free: 14.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/0.237, allocations: 67.39 kB / 0.729 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.237, allocations: 8.125 kB / 0.729 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.237, allocations: 4 kB / 0.729 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-05/0.237, allocations: 4 kB / 0.729 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.237, allocations: 7.984 kB / 0.7291 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.2374, allocations: 51.89 kB / 0.7291 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.2374, allocations: 8 kB / 0.7291 GB, free: 14.36 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,and1.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.0001227/0.2375, allocations: 129.8 kB / 0.7292 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.2376, allocations: 8 kB / 0.7292 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.2376, allocations: 8.312 kB / 0.7292 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2376, allocations: 4 kB / 0.7293 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2376, allocations: 0 / 0.7293 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2376, allocations: 0 / 0.7293 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.2378, allocations: 193.5 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2378, allocations: 0 / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.975e-06/0.2378, allocations: 0 / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2378, allocations: 0 / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2378, allocations: 4 kB / 0.7294 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2378, allocations: 4 kB / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2378, allocations: 0 / 0.7294 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.238, allocations: 105 kB / 0.7295 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.238, allocations: 85.06 kB / 0.7296 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2381, allocations: 4.031 kB / 0.7296 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.119e-05/0.2381, allocations: 7.922 kB / 0.7296 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.2381, allocations: 7.938 kB / 0.7296 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.2381, allocations: 12 kB / 0.7297 GB, free: 13.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.426e-05/0.2382, allocations: 91.27 kB / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2382, allocations: 0 / 0.7297 GB, free: 13.61 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002431/0.2384, allocations: 31.94 kB / 0.7298 GB, free: 13.58 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,and1.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.0008339/0.2393, allocations: 0.6437 MB / 0.7304 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003755/0.2397, allocations: 222.7 kB / 0.7306 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2397, allocations: 0 / 0.7306 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.859e-05/0.2397, allocations: 23.94 kB / 0.7306 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.24, allocations: 19.72 kB / 0.7307 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.2422, allocations: 1.717 MB / 0.7323 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.2427, allocations: 0.6852 MB / 0.733 GB, free: 10.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.327e-05/0.2428, allocations: 7.984 kB / 0.733 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.2428, allocations: 20 kB / 0.733 GB, free: 10.05 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2428, allocations: 0 / 0.733 GB, free: 10.05 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.264, allocations: 2.937 MB / 0.7359 GB, free: 7.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/8.614, allocations: 18.09 kB / 0.7359 GB, free: 7.219 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_And.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.796898608037736] Failed to read output from testmodel.py, exit status != 0: 8.74505493894685 8.772790148 8.534810387 Calling exit ...