Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001756/0.001756, allocations: 109 kB / 20.48 MB, free: 1.477 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.002096/0.002096, allocations: 213.8 kB / 23.79 MB, free: 4.684 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.501/1.501, allocations: 230.6 MB / 257.6 MB, free: 7.984 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 0.9604/0.9604, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.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.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch",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.002092/0.002092, allocations: 71.03 kB / 0.642 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2089, allocations: 89.17 MB / 0.7291 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001908/0.2109, allocations: 0.6879 MB / 0.7298 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001775/0.2126, allocations: 1.295 MB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.07e-05/0.2127, allocations: 0 / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.2127, allocations: 7.875 kB / 0.7311 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.865e-05/0.2128, allocations: 23.78 kB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.2136, allocations: 313 kB / 0.7314 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.214, allocations: 251.7 kB / 0.7316 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2141, allocations: 16.17 kB / 0.7316 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2142, allocations: 103.8 kB / 0.7317 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2144, allocations: 95.73 kB / 0.7318 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.2145, allocations: 24 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.2146, allocations: 35.98 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.378e-05/0.2146, allocations: 11.94 kB / 0.7319 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.2147, allocations: 87.8 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.215, allocations: 223.6 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.215, allocations: 0 / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.193e-06/0.215, allocations: 4 kB / 0.7322 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.215, allocations: 0 / 0.7322 GB, free: 14.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006299/0.2156, allocations: 423.1 kB / 0.7326 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2157, allocations: 8.031 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.118e-05/0.2157, allocations: 4.188 kB / 0.7326 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.2157, allocations: 38.67 kB / 0.7327 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.2158, allocations: 20.89 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2159, allocations: 118.5 kB / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2159, allocations: 16.31 kB / 0.7328 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.216, allocations: 12.38 kB / 0.7328 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.2161, allocations: 57.8 kB / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2161, allocations: 0 / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2161, allocations: 4 kB / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2161, allocations: 0 / 0.7329 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.2162, allocations: 23.92 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006067/0.2168, allocations: 395.5 kB / 0.7333 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.2169, allocations: 26.58 kB / 0.7333 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.2169, allocations: 20.94 kB / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.2169, allocations: 0 / 0.7333 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.2171, allocations: 103.3 kB / 0.7334 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.2171, allocations: 4 kB / 0.7334 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003473/0.2175, allocations: 141.5 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.2175, allocations: 55.41 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.2177, allocations: 132.6 kB / 0.7337 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.348e-05/0.2177, allocations: 29.7 kB / 0.7338 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.2178, allocations: 100.1 kB / 0.7339 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.2178, allocations: 23.84 kB / 0.7339 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.218, allocations: 65.67 kB / 0.7339 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2181, allocations: 330.8 kB / 0.7343 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.2183, allocations: 83.95 kB / 0.7343 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.2186, allocations: 146.4 kB / 0.7345 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.2189, allocations: 235 kB / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2189, allocations: 0 / 0.7347 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000657/0.2196, allocations: 378.5 kB / 0.7351 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.209e-05/0.2196, allocations: 101.2 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2196, allocations: 4 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2197, allocations: 4.375 kB / 0.7352 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.2197, allocations: 7.984 kB / 0.7352 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2197, allocations: 0 / 0.7352 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.2202, allocations: 83.8 kB / 0.7353 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.2202, allocations: 27.92 kB / 0.7353 GB, free: 10.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * 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.0001402/0.2204, allocations: 134.5 kB / 0.7354 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.545e-05/0.2204, allocations: 7.953 kB / 0.7354 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.2204, allocations: 16.36 kB / 0.7354 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2204, allocations: 0 / 0.7354 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2204, allocations: 0 / 0.7354 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2204, allocations: 0 / 0.7354 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.2206, allocations: 164.6 kB / 0.7356 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2206, allocations: 0 / 0.7356 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.2206, allocations: 7.984 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2206, allocations: 0 / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2206, allocations: 8 kB / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2206, allocations: 0 / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2206, allocations: 0 / 0.7356 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.2208, allocations: 140.9 kB / 0.7357 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.2208, allocations: 11.89 kB / 0.7358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.2209, allocations: 0 / 0.7358 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.514e-05/0.2209, allocations: 8 kB / 0.7358 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2209, allocations: 7.984 kB / 0.7358 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2209, allocations: 8 kB / 0.7358 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.736e-05/0.221, allocations: 95.27 kB / 0.7359 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.221, allocations: 0 / 0.7359 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002898/0.2213, allocations: 51.92 kB / 0.7359 GB, free: 9.91 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0005943/0.2219, allocations: 0.6787 MB / 0.7366 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005343/0.2224, allocations: 322.2 kB / 0.7369 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2224, allocations: 3.938 kB / 0.7369 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.2225, allocations: 35.92 kB / 0.7369 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.2228, allocations: 26.7 kB / 0.7369 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002758/0.2255, allocations: 2.068 MB / 0.739 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.2259, allocations: 0.6963 MB / 0.7396 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.621e-05/0.2259, allocations: 8.422 kB / 0.7397 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.226, allocations: 31.44 kB / 0.7397 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.226, allocations: 0 / 0.7397 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.2512, allocations: 3.992 MB / 0.7436 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.52, allocations: 7.344 kB / 0.7436 GB, free: 2 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Switch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.421074157988187] Failed to read output from testmodel.py, exit status != 0: 11.677115123020485 11.692845701 11.474690952 Calling exit ...