Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001432/0.001432, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001468/0.001468, allocations: 210.1 kB / 22.99 MB, free: 4.609 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 / 256.8 MB, free: 7.809 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.9702/0.9702, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",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.002181/0.002181, allocations: 66.05 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2116, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001897/0.2135, allocations: 0.5304 MB / 0.7287 GB, free: 496 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 4.347e-05/0.2135, allocations: 4 kB / 0.7287 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.2136, allocations: 7.938 kB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.2136, allocations: 3.938 kB / 0.7287 GB, free: 480 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.962e-05/0.2136, allocations: 0 / 0.7287 GB, free: 480 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.457e-05/0.2136, allocations: 4 kB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.593e-05/0.2137, allocations: 7.938 kB / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.2138, allocations: 0 / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.2138, allocations: 3.984 kB / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.157e-05/0.2138, allocations: 0 / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2138, allocations: 0 / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.278e-06/0.2138, allocations: 4 kB / 0.7287 GB, free: 460 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.2138, allocations: 0 / 0.7287 GB, free: 460 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.2139, allocations: 4 kB / 0.7287 GB, free: 456 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.916e-05/0.2139, allocations: 7.922 kB / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2139, allocations: 0 / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2139, allocations: 0 / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2139, allocations: 0 / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003383/0.2143, allocations: 238.7 kB / 0.729 GB, free: 176 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2143, allocations: 12.03 kB / 0.729 GB, free: 164 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.2144, allocations: 30.75 kB / 0.729 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.931e-05/0.2144, allocations: 0.9375 kB / 0.729 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2145, allocations: 110.6 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.2145, allocations: 8.375 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.482e-06/0.2145, allocations: 384 / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.2146, allocations: 30.27 kB / 0.7291 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2146, allocations: 3.938 kB / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.2147, allocations: 0 / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2147, allocations: 0 / 0.7292 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.462e-05/0.2147, allocations: 4 kB / 0.7292 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.215, allocations: 354.5 kB / 0.7295 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.2152, allocations: 173 kB / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.2152, allocations: 84.17 kB / 0.7297 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.82e-05/0.2152, allocations: 79.28 kB / 0.7298 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/0.2153, allocations: 105.8 kB / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2153, allocations: 0 / 0.7299 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.2154, allocations: 33.64 kB / 0.7299 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.606e-05/0.2154, allocations: 126.7 kB / 0.7301 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.375e-05/0.2155, allocations: 101.8 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2156, allocations: 25.7 kB / 0.7302 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.2156, allocations: 80.14 kB / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.2156, allocations: 0 / 0.7303 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.2156, allocations: 9.719 kB / 0.7303 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2158, allocations: 315 kB / 0.7306 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.96e-06/0.2158, allocations: 4 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-06/0.2158, allocations: 0 / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.2158, allocations: 75.28 kB / 0.7307 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/0.2158, allocations: 83.22 kB / 0.7307 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.555e-05/0.2159, allocations: 37.47 kB / 0.7308 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.2159, allocations: 83.22 kB / 0.7308 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/0.216, allocations: 75.28 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.394e-05/0.2161, allocations: 158.5 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.947e-05/0.2161, allocations: 79.22 kB / 0.7311 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.859e-05/0.2162, allocations: 150.6 kB / 0.7313 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.2163, allocations: 87.22 kB / 0.7314 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.2163, allocations: 75.28 kB / 0.7314 GB, free: 13.46 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001326/0.2164, allocations: 264.3 kB / 0.7317 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.775e-05/0.2165, allocations: 109 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.2165, allocations: 112.1 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.409e-05/0.2166, allocations: 176.3 kB / 0.7321 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-05/0.2167, allocations: 184.2 kB / 0.7322 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.86e-05/0.2168, allocations: 180.3 kB / 0.7324 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.217, allocations: 376.2 kB / 0.7328 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.191e-05/0.2171, allocations: 105.2 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.2171, allocations: 109 kB / 0.733 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.323e-05/0.2172, allocations: 192.2 kB / 0.7332 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/0.2173, allocations: 180.2 kB / 0.7333 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.4e-05/0.2174, allocations: 176.3 kB / 0.7335 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.812e-05/0.2175, allocations: 184.2 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.2177, allocations: 307.7 kB / 0.734 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.581e-05/0.2177, allocations: 105 kB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-05/0.2178, allocations: 180.3 kB / 0.7342 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.2179, allocations: 104.9 kB / 0.7343 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.218, allocations: 184.3 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.2181, allocations: 108.9 kB / 0.7346 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.258e-05/0.2181, allocations: 87.27 kB / 0.7347 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2181, allocations: 4 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002529/0.2184, allocations: 0 / 0.7347 GB, free: 9.902 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005447/0.2189, allocations: 0.797 MB / 0.7355 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.902e-05/0.219, allocations: 11.92 kB / 0.7355 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.219, allocations: 0 / 0.7355 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.219, allocations: 0 / 0.7355 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.2194, allocations: 455.7 kB / 0.7359 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2207, allocations: 1.535 MB / 0.7374 GB, free: 7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.567e-05/0.2207, allocations: 51.36 kB / 0.7375 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.997e-06/0.2207, allocations: 7.938 kB / 0.7375 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.2208, allocations: 7.438 kB / 0.7375 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2208, allocations: 0 / 0.7375 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.2498, allocations: 1.401 MB / 0.7389 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 10.06 kB / 0.7389 GB, free: 5.641 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.138355800881982] Failed to read output from testmodel.py, exit status != 0: 11.393435453996062 11.410500527 11.19336172 Calling exit ...