Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 106.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 285.2 kB / 303 MB, free: 9.488 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.223/1.223, allocations: 180.9 MB / 0.5261 GB, free: 14.73 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 102.5 kB / 0.7248 GB, free: 40.06 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1913, allocations: 94.16 MB / 0.8167 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00287/0.1942, allocations: 1.449 MB / 0.8181 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004596/0.1946, allocations: 196.5 kB / 0.8183 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.1947, allocations: 4 kB / 0.8183 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.1947, allocations: 3.938 kB / 0.8183 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.828e-05/0.1947, allocations: 3.984 kB / 0.8183 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.195, allocations: 35.84 kB / 0.8184 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.511e-05/0.1951, allocations: 23.98 kB / 0.8184 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.749e-05/0.1952, allocations: 0 / 0.8184 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.64e-05/0.1952, allocations: 15.92 kB / 0.8184 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.1953, allocations: 11.92 kB / 0.8184 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1953, allocations: 4 kB / 0.8184 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.023e-05/0.1954, allocations: 39.91 kB / 0.8185 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1954, allocations: 11.98 kB / 0.8185 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.1954, allocations: 7.938 kB / 0.8185 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.1955, allocations: 44.09 kB / 0.8185 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1956, allocations: 0 / 0.8185 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1956, allocations: 0 / 0.8185 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.493e-06/0.1956, allocations: 0 / 0.8185 GB, free: 3.527 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.000522/0.1961, allocations: 343.4 kB / 0.8189 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.1961, allocations: 16.02 kB / 0.8189 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.1962, allocations: 34.75 kB / 0.8189 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.1962, allocations: 8.891 kB / 0.8189 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1963, allocations: 164.4 kB / 0.8191 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.1963, allocations: 384 / 0.8191 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1964, allocations: 4.375 kB / 0.8191 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1965, allocations: 46.23 kB / 0.8191 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1965, allocations: 3.938 kB / 0.8191 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1966, allocations: 4 kB / 0.8191 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1966, allocations: 3.938 kB / 0.8191 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.1967, allocations: 39.95 kB / 0.8192 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003507/0.1971, allocations: 241 kB / 0.8194 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.1972, allocations: 42.48 kB / 0.8194 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.1973, allocations: 24.91 kB / 0.8195 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.22e-05/0.1974, allocations: 81.11 kB / 0.8195 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.1974, allocations: 38.5 kB / 0.8196 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1974, allocations: 0 / 0.8196 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000341/0.1978, allocations: 81.59 kB / 0.8197 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.1978, allocations: 59.34 kB / 0.8197 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.1979, allocations: 102 kB / 0.8198 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1979, allocations: 29.7 kB / 0.8198 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.198, allocations: 84.14 kB / 0.8199 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.198, allocations: 7.891 kB / 0.8199 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.198, allocations: 13.72 kB / 0.8199 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.1982, allocations: 318.8 kB / 0.8202 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.1982, allocations: 15.98 kB / 0.8203 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.1983, allocations: 15.98 kB / 0.8203 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1985, allocations: 48.69 kB / 0.8203 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1985, allocations: 3.938 kB / 0.8203 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001877/0.1987, allocations: 65.67 kB / 0.8204 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1987, allocations: 4 kB / 0.8204 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1987, allocations: 0 / 0.8204 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1987, allocations: 8.094 kB / 0.8204 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.1988, allocations: 7.984 kB / 0.8204 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1988, allocations: 0 / 0.8204 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.522e-05/0.1988, allocations: 7.984 kB / 0.8204 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1988, allocations: 0 / 0.8204 GB, free: 1.344 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 9.392e-05/0.1989, allocations: 113.8 kB / 0.8205 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.1989, allocations: 0 / 0.8205 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1992, allocations: 84.7 kB / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1992, allocations: 0 / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1992, allocations: 0 / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1992, allocations: 0 / 0.8206 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.1994, allocations: 161.8 kB / 0.8208 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1994, allocations: 4 kB / 0.8208 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.618e-05/0.1994, allocations: 11.98 kB / 0.8208 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1994, allocations: 0 / 0.8208 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.1994, allocations: 0 / 0.8208 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.1994, allocations: 4.031 kB / 0.8208 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1994, allocations: 0 / 0.8208 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.1997, allocations: 171.3 kB / 0.8209 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.1997, allocations: 81.11 kB / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1998, allocations: 0 / 0.821 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.181e-05/0.1998, allocations: 7.984 kB / 0.821 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1999, allocations: 4.031 kB / 0.821 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1999, allocations: 0 / 0.821 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.65e-05/0.1999, allocations: 87.27 kB / 0.8211 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1999, allocations: 0 / 0.8211 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002254/0.2001, allocations: 12 kB / 0.8211 GB, free: 0.5195 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.000636/0.2008, allocations: 0.7122 MB / 0.8218 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.201, allocations: 35.95 kB / 0.8218 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.201, allocations: 0 / 0.8218 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.2011, allocations: 23.92 kB / 0.8219 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.2014, allocations: 4.156 kB / 0.8219 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.2019, allocations: 143.1 kB / 0.822 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.2023, allocations: 0.6768 MB / 0.8227 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.474e-05/0.2023, allocations: 0 / 0.8227 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.2024, allocations: 11.44 kB / 0.8227 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2024, allocations: 3.938 kB / 0.8227 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02509/0.2275, allocations: 1.469 MB / 0.8241 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.944/8.171, allocations: 0 / 0.8241 GB, free: 13.46 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.270967280957848] Failed to read output from testmodel.py, exit status != 0: 8.240536618977785 8.265615417 8.06529581 Calling exit ...