Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001785/0.001785, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002227/0.002227, allocations: 214.2 kB / 23.78 MB, free: 4.523 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.519/1.519, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.009/1.009, allocations: 150 MB / 464 MB, free: 10.22 MB / 366.1 MB " [Timeout remaining time 178] 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.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or",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.002055/0.002055, allocations: 58.62 kB / 0.642 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2281, allocations: 89.18 MB / 0.729 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001984/0.2301, allocations: 0.6275 MB / 0.7297 GB, free: 164 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.2319, allocations: 1.202 MB / 0.7308 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.232, allocations: 4 kB / 0.7308 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.232, allocations: 7.922 kB / 0.7308 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.2321, allocations: 7.875 kB / 0.7309 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.2328, allocations: 215.7 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.2331, allocations: 183.6 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.2332, allocations: 4 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.2333, allocations: 67.89 kB / 0.7313 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.2335, allocations: 63.84 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.2335, allocations: 16 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.2336, allocations: 27.98 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.2336, allocations: 11.98 kB / 0.7314 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.083e-05/0.2337, allocations: 51.83 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.234, allocations: 155.8 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.234, allocations: 0 / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.234, allocations: 0 / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.234, allocations: 3.984 kB / 0.7316 GB, free: 14.15 MB / 0.5606 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.0006409/0.2346, allocations: 361.5 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.2347, allocations: 8.031 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.568e-05/0.2347, allocations: 4.188 kB / 0.732 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.2347, allocations: 38.73 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.2348, allocations: 8.938 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2349, allocations: 118.4 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2349, allocations: 4.375 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.235, allocations: 16.31 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.2351, allocations: 49.98 kB / 0.7322 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2351, allocations: 4 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2351, allocations: 7.938 kB / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2351, allocations: 0 / 0.7322 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.2352, allocations: 12 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.2357, allocations: 295.9 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.432e-05/0.2357, allocations: 30.58 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.2358, allocations: 16.94 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.2358, allocations: 3.938 kB / 0.7326 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.236, allocations: 79.38 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.236, allocations: 4 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.000275/0.2363, allocations: 101.6 kB / 0.7327 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.2363, allocations: 55.41 kB / 0.7328 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2364, allocations: 125.7 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.2365, allocations: 33.7 kB / 0.7329 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.2366, allocations: 84.14 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.2366, allocations: 15.91 kB / 0.733 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.2367, allocations: 49.69 kB / 0.7331 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2369, allocations: 322.8 kB / 0.7334 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2371, allocations: 127.4 kB / 0.7335 GB, free: 12 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.2373, allocations: 147.7 kB / 0.7336 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.2376, allocations: 168 kB / 0.7338 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2376, allocations: 0 / 0.7338 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00052/0.2381, allocations: 328.2 kB / 0.7341 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.2382, allocations: 67.52 kB / 0.7342 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2382, allocations: 4 kB / 0.7342 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2382, allocations: 0 / 0.7342 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.2382, allocations: 7.938 kB / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.2382, allocations: 0 / 0.7342 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003393/0.2386, allocations: 51.89 kB / 0.7342 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.2386, allocations: 19.98 kB / 0.7343 GB, free: 11.12 MB / 0.5606 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,or1.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.0001311/0.2387, allocations: 127.8 kB / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.2387, allocations: 4 kB / 0.7344 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.2388, allocations: 16.34 kB / 0.7344 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.2388, allocations: 3.938 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2388, allocations: 0 / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2388, allocations: 0 / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001636/0.2389, allocations: 144.6 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2389, allocations: 4.062 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.239, allocations: 11.92 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.239, allocations: 0 / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.239, allocations: 0 / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.239, allocations: 4 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.239, allocations: 4 kB / 0.7346 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.2392, allocations: 113 kB / 0.7347 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.2392, allocations: 7.891 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.2392, allocations: 4 kB / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.2392, allocations: 0 / 0.7347 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.2393, allocations: 11.98 kB / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.2393, allocations: 0 / 0.7347 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001537/0.2394, allocations: 95.2 kB / 0.7348 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2394, allocations: 0 / 0.7348 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002505/0.2397, allocations: 31.94 kB / 0.7348 GB, free: 10.48 MB / 0.5606 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,or1.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.0006154/0.2403, allocations: 0.6562 MB / 0.7355 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.2407, allocations: 274.6 kB / 0.7357 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2407, allocations: 0 / 0.7357 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.984e-05/0.2407, allocations: 27.92 kB / 0.7358 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.241, allocations: 22.47 kB / 0.7358 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.2434, allocations: 1.962 MB / 0.7377 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.2434, allocations: 74.59 kB / 0.7378 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.2435, allocations: 7.984 kB / 0.7378 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.2435, allocations: 15.44 kB / 0.7378 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of SimCode: time 8.51e-07/0.2435, allocations: 3.938 kB / 0.7378 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02571/0.2692, allocations: 3.234 MB / 0.7409 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.69, allocations: 9.781 kB / 0.741 GB, free: 4.141 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Or.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.720448135049082] Failed to read output from testmodel.py, exit status != 0: 11.852918445016257 11.881992158 11.642681602 Calling exit ...