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.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.001516/0.001516, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001715/0.001715, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002607/0.002607, allocations: 286.5 kB / 313.5 MB, free: 2.793 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.163/1.163, allocations: 180.6 MB / 0.5377 GB, free: 13.03 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002793/0.002793, allocations: 101.5 kB / 0.7408 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1877, allocations: 95.38 MB / 0.834 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00293/0.1906, allocations: 1.479 MB / 0.8354 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004745/0.1911, allocations: 192.3 kB / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.1911, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.147e-05/0.1912, allocations: 0 / 0.8356 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.1912, allocations: 7.938 kB / 0.8356 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.1915, allocations: 40.89 kB / 0.8356 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.1916, allocations: 19.94 kB / 0.8357 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1917, allocations: 11.97 kB / 0.8357 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.1918, allocations: 7.938 kB / 0.8357 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.1918, allocations: 11.98 kB / 0.8357 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1918, allocations: 4 kB / 0.8357 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.1919, allocations: 39.91 kB / 0.8357 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1919, allocations: 0 / 0.8357 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.192, allocations: 11.94 kB / 0.8357 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1921, allocations: 43.86 kB / 0.8358 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1921, allocations: 11.94 kB / 0.8358 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1921, allocations: 0 / 0.8358 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.1921, allocations: 0 / 0.8358 GB, free: 6.27 MB / 0.5762 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.0004847/0.1926, allocations: 266.3 kB / 0.836 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.1926, allocations: 9.344 kB / 0.8361 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.028e-05/0.1927, allocations: 0.9375 kB / 0.8361 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1928, allocations: 114.4 kB / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1928, allocations: 384 / 0.8362 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.1928, allocations: 4.375 kB / 0.8362 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.193, allocations: 50.23 kB / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.193, allocations: 192 / 0.8362 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.193, allocations: 7.938 kB / 0.8362 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.193, allocations: 0 / 0.8362 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1932, allocations: 31.95 kB / 0.8363 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1935, allocations: 232 kB / 0.8365 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1936, allocations: 38.48 kB / 0.8365 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.1937, allocations: 20.91 kB / 0.8365 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.108e-05/0.1938, allocations: 4 kB / 0.8365 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1938, allocations: 30.56 kB / 0.8366 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.1938, allocations: 4 kB / 0.8366 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003489/0.1942, allocations: 85.58 kB / 0.8367 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/0.1943, allocations: 51.41 kB / 0.8367 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.1943, allocations: 105.8 kB / 0.8368 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.1944, allocations: 25.7 kB / 0.8368 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1944, allocations: 89.75 kB / 0.8369 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.1945, allocations: 8.078 kB / 0.8369 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.1945, allocations: 13.72 kB / 0.8369 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.1947, allocations: 318.8 kB / 0.8372 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.1947, allocations: 15.98 kB / 0.8373 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.811e-05/0.1948, allocations: 16.23 kB / 0.8373 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.195, allocations: 44.88 kB / 0.8373 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.195, allocations: 4 kB / 0.8373 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.1952, allocations: 69.55 kB / 0.8374 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.1952, allocations: 4 kB / 0.8374 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1952, allocations: 3.938 kB / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1952, allocations: 0 / 0.8374 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-05/0.1953, allocations: 11.98 kB / 0.8374 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1953, allocations: 0 / 0.8374 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.723e-05/0.1953, allocations: 12.02 kB / 0.8374 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.1953, allocations: 0 / 0.8374 GB, free: 4.426 MB / 0.5762 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.259e-05/0.1954, allocations: 114.4 kB / 0.8375 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.1955, allocations: 7.953 kB / 0.8375 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.1957, allocations: 64.97 kB / 0.8376 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1957, allocations: 3.938 kB / 0.8376 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1957, allocations: 8.031 kB / 0.8376 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1957, allocations: 0 / 0.8376 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1959, allocations: 136.7 kB / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1959, allocations: 0 / 0.8377 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.757e-05/0.1959, allocations: 11.98 kB / 0.8377 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1959, allocations: 3.984 kB / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1959, allocations: 0 / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1959, allocations: 0 / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1959, allocations: 0 / 0.8377 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.1962, allocations: 167.5 kB / 0.8379 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.1962, allocations: 4 kB / 0.8379 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.1962, allocations: 0 / 0.8379 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1963, allocations: 7.984 kB / 0.8379 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.1963, allocations: 0 / 0.8379 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1963, allocations: 0 / 0.8379 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.334e-05/0.1964, allocations: 87.31 kB / 0.838 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1964, allocations: 3.938 kB / 0.838 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002264/0.1966, allocations: 19.92 kB / 0.838 GB, free: 3.719 MB / 0.5762 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.0001515/0.1967, allocations: 103.2 kB / 0.8381 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002083/0.1969, allocations: 39.95 kB / 0.8382 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1969, allocations: 0 / 0.8382 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.197, allocations: 24.05 kB / 0.8382 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.1973, allocations: 12.64 kB / 0.8382 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.1976, allocations: 131.3 kB / 0.8383 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1979, allocations: 0.6806 MB / 0.839 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.316e-05/0.1979, allocations: 11.38 kB / 0.839 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1979, allocations: 0 / 0.839 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of Templates: time 0.002374/0.2003, allocations: 0.6698 MB / 0.8397 GB, free: 1.988 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.963349540019408] Failed to read output from testmodel.py, exit status != 0: 0.20779810496605933 0.22296489300000003 0.027799181000000003 Calling exit ...