Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001361/0.001361, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001455/0.001455, allocations: 219.2 kB / 23 MB, free: 5.004 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9961/0.9961, allocations: 150 MB / 463.2 MB, free: 10.51 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.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",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.002098/0.002098, allocations: 75.31 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1968, allocations: 89.17 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002131/0.199, allocations: 0.6906 MB / 0.7291 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.2001, allocations: 0.8276 MB / 0.7299 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.2001, allocations: 0 / 0.7299 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.2002, allocations: 7.922 kB / 0.7299 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.364e-05/0.2002, allocations: 11.92 kB / 0.7299 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 6.002e-05/0.2003, allocations: 11.98 kB / 0.7299 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.653e-05/0.2004, allocations: 39.86 kB / 0.7299 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2005, allocations: 15.98 kB / 0.73 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.488e-05/0.2006, allocations: 19.98 kB / 0.73 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.2006, allocations: 15.92 kB / 0.73 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.2006, allocations: 4 kB / 0.73 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.217e-06/0.2006, allocations: 7.938 kB / 0.73 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.2007, allocations: 7.938 kB / 0.73 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.2007, allocations: 19.92 kB / 0.73 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.2008, allocations: 48.02 kB / 0.7301 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.2008, allocations: 3.938 kB / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2008, allocations: 0 / 0.7301 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.2008, allocations: 0 / 0.7301 GB, free: 15.54 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.0005107/0.2013, allocations: 290.2 kB / 0.7304 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2014, allocations: 12.03 kB / 0.7304 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.2014, allocations: 38.73 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.967e-05/0.2014, allocations: 0.9375 kB / 0.7304 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2015, allocations: 114.4 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2016, allocations: 384 / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.2016, allocations: 4.375 kB / 0.7305 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2018, allocations: 74.16 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2018, allocations: 3.938 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2018, allocations: 0 / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.2018, allocations: 4 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.2021, allocations: 59.92 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.2025, allocations: 248 kB / 0.7309 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.2028, allocations: 54.53 kB / 0.7309 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.2029, allocations: 40.86 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.2029, allocations: 3.984 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.203, allocations: 38.56 kB / 0.731 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.203, allocations: 0 / 0.731 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005324/0.2035, allocations: 129.5 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.2035, allocations: 51.41 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.285e-05/0.2036, allocations: 113.8 kB / 0.7313 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2037, allocations: 29.7 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.2037, allocations: 80.14 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2037, allocations: 7.953 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/0.2038, allocations: 17.7 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.2039, allocations: 314.8 kB / 0.7317 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.2041, allocations: 35.91 kB / 0.7318 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.2042, allocations: 35.95 kB / 0.7318 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.2045, allocations: 72.72 kB / 0.7319 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2045, allocations: 3.938 kB / 0.7319 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003173/0.2048, allocations: 101.6 kB / 0.732 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2048, allocations: 6.031 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2048, allocations: 0 / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2048, allocations: 0 / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.2049, allocations: 15.98 kB / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.2049, allocations: 4.25 kB / 0.732 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.205, allocations: 15.97 kB / 0.732 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.205, allocations: 4 kB / 0.732 GB, free: 13.36 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 (3): * Single equations (assignments): 3 * 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 9.712e-05/0.2051, allocations: 115.8 kB / 0.7321 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.913e-05/0.2052, allocations: 11.89 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.2052, allocations: 4 kB / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2052, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2052, allocations: 0 / 0.7321 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2052, allocations: 4 kB / 0.7322 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001969/0.2054, allocations: 148.6 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2054, allocations: 0 / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.619e-05/0.2055, allocations: 15.98 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2055, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.2055, allocations: 4 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2055, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2055, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.2059, allocations: 203.3 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.2059, allocations: 7.891 kB / 0.7325 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2059, allocations: 4 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.206, allocations: 7.984 kB / 0.7325 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2061, allocations: 11.98 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2061, allocations: 4.375 kB / 0.7325 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.2061, allocations: 87.27 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2061, allocations: 4 kB / 0.7326 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002331/0.2064, allocations: 8 kB / 0.7326 GB, free: 12.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 (3): * Single equations (assignments): 3 * 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.0008377/0.2072, allocations: 0.7319 MB / 0.7333 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003407/0.2075, allocations: 71.86 kB / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2075, allocations: 0 / 0.7334 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2077, allocations: 35.95 kB / 0.7335 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2081, allocations: 10.78 kB / 0.7335 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.2086, allocations: 159.1 kB / 0.7336 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.209, allocations: 0.6807 MB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.209, allocations: 0 / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.2091, allocations: 15.44 kB / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.2091, allocations: 0 / 0.7343 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0343/0.2434, allocations: 1.722 MB / 0.736 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.11, allocations: 12.91 kB / 0.736 GB, free: 9.273 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.99499429599382] Failed to read output from testmodel.py, exit status != 0: 11.213225128129125 11.231236439 11.026919634 Calling exit ...