Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.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.001374/0.001374, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001539/0.001539, allocations: 214.2 kB / 23.78 MB, free: 4.555 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.55/1.55, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.9805/0.9805, allocations: 150 MB / 464 MB, free: 10.23 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.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential",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.002091/0.002091, allocations: 66.23 kB / 0.642 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.196, allocations: 89.18 MB / 0.729 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothExponential): time 0.00299/0.199, allocations: 1.45 MB / 0.7305 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004701/0.1994, allocations: 187.5 kB / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.552e-05/0.1995, allocations: 0 / 0.7306 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.1995, allocations: 3.938 kB / 0.7306 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.81e-05/0.1996, allocations: 4 kB / 0.7306 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.1999, allocations: 35.84 kB / 0.7307 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.2, allocations: 15.98 kB / 0.7307 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.2001, allocations: 19.98 kB / 0.7307 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.2001, allocations: 15.92 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.916e-05/0.2002, allocations: 4 kB / 0.7307 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2002, allocations: 3.938 kB / 0.7307 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.2003, allocations: 31.97 kB / 0.7308 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.2003, allocations: 15.92 kB / 0.7308 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.2003, allocations: 4 kB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2005, allocations: 44.09 kB / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2005, allocations: 0 / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2005, allocations: 0 / 0.7308 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2005, allocations: 0 / 0.7308 GB, free: 14.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005025/0.201, allocations: 270.3 kB / 0.7311 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.201, allocations: 12.03 kB / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.616e-05/0.201, allocations: 192 / 0.7311 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.2011, allocations: 38.67 kB / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.2011, allocations: 0.9375 kB / 0.7311 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.2013, allocations: 114.4 kB / 0.7312 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2013, allocations: 4.375 kB / 0.7312 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2013, allocations: 4.375 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.2015, allocations: 53.98 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2015, allocations: 4 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2015, allocations: 3.938 kB / 0.7313 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2015, allocations: 0 / 0.7313 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.2017, allocations: 31.97 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.2021, allocations: 219.9 kB / 0.7316 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.2022, allocations: 42.53 kB / 0.7316 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.2023, allocations: 28.91 kB / 0.7316 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.2024, allocations: 4 kB / 0.7316 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.2024, allocations: 38.5 kB / 0.7317 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.2024, allocations: 0 / 0.7317 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003656/0.2028, allocations: 81.64 kB / 0.7317 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.2028, allocations: 51.41 kB / 0.7318 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.2029, allocations: 101.8 kB / 0.7319 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.2029, allocations: 29.7 kB / 0.7319 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.203, allocations: 84.27 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.203, allocations: 3.953 kB / 0.732 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.2031, allocations: 17.72 kB / 0.732 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.2032, allocations: 314.8 kB / 0.7323 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.2033, allocations: 15.98 kB / 0.7323 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.2033, allocations: 15.98 kB / 0.7323 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.2035, allocations: 48.77 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.2035, allocations: 3.984 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.2037, allocations: 65.62 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2037, allocations: 4 kB / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2037, allocations: 0 / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2037, allocations: 0 / 0.7325 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.2038, allocations: 15.98 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2038, allocations: 3.984 kB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2039, allocations: 12.02 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.2039, allocations: 3.938 kB / 0.7325 GB, free: 13.07 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 (2): * Single equations (assignments): 2 * 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 8.226e-05/0.204, allocations: 109.8 kB / 0.7326 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.204, allocations: 4 kB / 0.7326 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/0.2042, allocations: 72.91 kB / 0.7327 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.2042, allocations: 4 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.2042, allocations: 0 / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2042, allocations: 0 / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.2044, allocations: 132.7 kB / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2044, allocations: 0 / 0.7328 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.2045, allocations: 11.98 kB / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2045, allocations: 0 / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.2045, allocations: 0 / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2045, allocations: 0 / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2045, allocations: 0 / 0.7328 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.2047, allocations: 171.3 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.2047, allocations: 8.031 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.2047, allocations: 256 / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.2048, allocations: 15.92 kB / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.2049, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2049, allocations: 0 / 0.733 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.2049, allocations: 91.27 kB / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2049, allocations: 0 / 0.7331 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.2051, allocations: 11.94 kB / 0.7331 GB, free: 12.38 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 (2): * Single equations (assignments): 2 * 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.0006178/0.2058, allocations: 0.7084 MB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.206, allocations: 39.95 kB / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.206, allocations: 0 / 0.7338 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.301e-05/0.2061, allocations: 15.98 kB / 0.7338 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2064, allocations: 4 kB / 0.7338 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.2069, allocations: 147.3 kB / 0.734 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.2069, allocations: 59.36 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.776e-05/0.207, allocations: 3.984 kB / 0.734 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.207, allocations: 15.38 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.207, allocations: 7.938 kB / 0.7341 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.2344, allocations: 1.606 MB / 0.7356 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.45, allocations: 14.78 kB / 0.7357 GB, free: 9.832 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothExponential.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.465842264005914] Failed to read output from testmodel.py, exit status != 0: 11.615572389098816 11.631036186 11.427411662 Calling exit ...