Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.001721/0.001721, 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.001983/0.001983, allocations: 214.4 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.797 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.9896/0.9896, allocations: 150 MB / 464 MB, free: 10.25 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.Reals.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Constant",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.001991/0.001991, allocations: 66.44 kB / 0.642 GB, free: 9.902 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2018, allocations: 89.17 MB / 0.7291 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.00195/0.2037, allocations: 0.5686 MB / 0.7296 GB, free: 248 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 5.242e-05/0.2038, allocations: 4 kB / 0.7296 GB, free: 244 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.2038, allocations: 0 / 0.7296 GB, free: 244 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.2038, allocations: 4 kB / 0.7296 GB, free: 240 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.2038, allocations: 3.938 kB / 0.7296 GB, free: 236 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.355e-05/0.2039, allocations: 4 kB / 0.7296 GB, free: 232 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.569e-05/0.2039, allocations: 3.984 kB / 0.7296 GB, free: 228 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.204, allocations: 0 / 0.7296 GB, free: 228 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.204, allocations: 4 kB / 0.7296 GB, free: 224 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.047e-05/0.204, allocations: 0 / 0.7296 GB, free: 224 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.2041, allocations: 4 kB / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-06/0.2041, allocations: 0 / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2041, allocations: 0 / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.147e-05/0.2041, allocations: 0 / 0.7297 GB, free: 220 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.2042, allocations: 11.92 kB / 0.7297 GB, free: 208 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2042, allocations: 0 / 0.7297 GB, free: 208 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2042, allocations: 0 / 0.7297 GB, free: 208 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.2042, allocations: 0 / 0.7297 GB, free: 208 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.0003841/0.2046, allocations: 238.8 kB / 0.7299 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2046, allocations: 8.031 kB / 0.7299 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.594e-05/0.2046, allocations: 4.188 kB / 0.7299 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.676e-05/0.2047, allocations: 30.75 kB / 0.7299 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.2047, allocations: 0.9375 kB / 0.7299 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2048, allocations: 114.5 kB / 0.73 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.2048, allocations: 384 / 0.73 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.2048, allocations: 4.375 kB / 0.73 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.35e-05/0.2049, allocations: 37.95 kB / 0.7301 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2049, allocations: 0 / 0.7301 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.2049, allocations: 0 / 0.7301 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.2049, allocations: 3.938 kB / 0.7301 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.756e-05/0.205, allocations: 3.984 kB / 0.7301 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003577/0.2053, allocations: 358.5 kB / 0.7304 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.2054, allocations: 177.1 kB / 0.7306 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.2055, allocations: 80.14 kB / 0.7307 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.2055, allocations: 75.28 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/0.2056, allocations: 113.8 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2056, allocations: 0 / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 7.653e-05/0.2056, allocations: 25.7 kB / 0.7309 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.2057, allocations: 126.7 kB / 0.731 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.2058, allocations: 105.8 kB / 0.7311 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2058, allocations: 25.7 kB / 0.7311 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.2059, allocations: 80.14 kB / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.2059, allocations: 0 / 0.7312 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.2059, allocations: 13.72 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.206, allocations: 314.8 kB / 0.7315 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.24e-06/0.2061, allocations: 4.125 kB / 0.7315 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-06/0.2061, allocations: 0 / 0.7315 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.2061, allocations: 79.22 kB / 0.7316 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.419e-05/0.2061, allocations: 75.28 kB / 0.7317 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.497e-05/0.2062, allocations: 29.7 kB / 0.7317 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.2062, allocations: 79.28 kB / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.2063, allocations: 87.22 kB / 0.7319 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.638e-05/0.2063, allocations: 154.5 kB / 0.732 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.138e-05/0.2064, allocations: 79.22 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-05/0.2064, allocations: 154.6 kB / 0.7322 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.2065, allocations: 75.28 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.2066, allocations: 83.22 kB / 0.7324 GB, free: 13.21 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.0001356/0.2067, allocations: 264.3 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.2068, allocations: 109 kB / 0.7327 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.2068, allocations: 112.1 kB / 0.7328 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-05/0.2069, allocations: 180.3 kB / 0.733 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.484e-05/0.207, allocations: 176.3 kB / 0.7332 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.358e-05/0.2071, allocations: 184.2 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.2073, allocations: 376.2 kB / 0.7337 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.798e-05/0.2074, allocations: 105.2 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.2074, allocations: 105 kB / 0.7339 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-05/0.2075, allocations: 184.3 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.805e-05/0.2076, allocations: 188.2 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.959e-05/0.2076, allocations: 184.3 kB / 0.7344 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.802e-05/0.2077, allocations: 180.2 kB / 0.7346 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.2079, allocations: 299.8 kB / 0.7349 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.208, allocations: 120.8 kB / 0.735 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2081, allocations: 176.3 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.153e-05/0.2081, allocations: 108.9 kB / 0.7353 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.882e-05/0.2082, allocations: 180.3 kB / 0.7355 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.2083, allocations: 101 kB / 0.7356 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.2083, allocations: 95.2 kB / 0.7356 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2083, allocations: 0 / 0.7356 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000263/0.2086, allocations: 0 / 0.7356 GB, free: 9.66 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.0004713/0.2091, allocations: 0.8009 MB / 0.7364 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 4.836e-05/0.2091, allocations: 11.92 kB / 0.7364 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2091, allocations: 0 / 0.7364 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.827e-06/0.2091, allocations: 3.938 kB / 0.7364 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.0004907/0.2096, allocations: 460.5 kB / 0.7369 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.2108, allocations: 1.536 MB / 0.7384 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.2109, allocations: 55.36 kB / 0.7384 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.007e-06/0.2109, allocations: 0 / 0.7384 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.211, allocations: 7.438 kB / 0.7384 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.211, allocations: 0 / 0.7384 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.2322, allocations: 1.067 MB / 0.7395 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.58, allocations: 4.812 kB / 0.7395 GB, free: 5.746 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.623212983016856] Failed to read output from testmodel.py, exit status != 0: 11.76122313993983 11.779092737 11.571461802 Calling exit ...