Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.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.001088/0.001088, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001337/0.001337, allocations: 173 kB / 23.02 MB, free: 1.547 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.001587/0.001587, allocations: 238.1 kB / 260.2 MB, free: 12.82 MB / 250.7 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 0.7573/0.7573, allocations: 138.4 MB / 455.2 MB, free: 1.5 MB / 362.7 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.5551 GB, free: 500 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.294e-05, allocations: 2.312 kB / 0.5551 GB, free: 496 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002422/0.002445, allocations: 1.502 MB / 0.5566 GB, free: 14.97 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.003241, allocations: 0.4996 MB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.721e-05/0.003278, allocations: 0 / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.287e-05/0.003311, allocations: 3.938 kB / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.623e-05/0.003377, allocations: 0 / 0.5571 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.003595, allocations: 19.92 kB / 0.5571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.388e-05/0.003679, allocations: 31.86 kB / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.003763, allocations: 0 / 0.5571 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.108e-05/0.003844, allocations: 15.98 kB / 0.5571 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.737e-05/0.003882, allocations: 11.97 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.003898, allocations: 4 kB / 0.5572 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.433e-05/0.003962, allocations: 16 kB / 0.5572 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.003978, allocations: 7.922 kB / 0.5572 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.004, allocations: 8 kB / 0.5572 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.004112, allocations: 27.89 kB / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004114, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004115, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.004119, allocations: 0 / 0.5572 GB, free: 14.32 MB / 490.7 MB 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.0003774/0.004497, allocations: 364.5 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.004538, allocations: 16.69 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.004581, allocations: 4.938 kB / 0.5576 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.683e-05/0.004678, allocations: 116.6 kB / 0.5577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004689, allocations: 4.359 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.0047, allocations: 4.375 kB / 0.5577 GB, free: 13.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.004824, allocations: 46.95 kB / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.004831, allocations: 4.188 kB / 0.5577 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004842, allocations: 4.375 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.004854, allocations: 7.922 kB / 0.5578 GB, free: 13.69 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.108e-05/0.004885, allocations: 4 kB / 0.5578 GB, free: 13.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.005189, allocations: 251.8 kB / 0.558 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.643e-05/0.005245, allocations: 27.06 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.005271, allocations: 11.69 kB / 0.558 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.873e-05/0.005359, allocations: 8.047 kB / 0.558 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.005387, allocations: 41.33 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.005388, allocations: 0 / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.005547, allocations: 41.64 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.005587, allocations: 51.41 kB / 0.5582 GB, free: 13.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.005673, allocations: 165.9 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.005684, allocations: 25.7 kB / 0.5584 GB, free: 12.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.211e-05/0.005736, allocations: 126.9 kB / 0.5585 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.005755, allocations: 7.953 kB / 0.5585 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.005788, allocations: 27.48 kB / 0.5585 GB, free: 12.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.005923, allocations: 492.1 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.005939, allocations: 4 kB / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.166e-05/0.005951, allocations: 0 / 0.559 GB, free: 12.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.005984, allocations: 15.69 kB / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005986, allocations: 0 / 0.559 GB, free: 12.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.106e-05/0.006057, allocations: 49.58 kB / 0.5591 GB, free: 12.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.006072, allocations: 7.938 kB / 0.5591 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.006077, allocations: 0 / 0.5591 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.00609, allocations: 4.094 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.006161, allocations: 4 kB / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.006166, allocations: 0 / 0.5591 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.006188, allocations: 7.938 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.006196, allocations: 7.984 kB / 0.5591 GB, free: 12.2 MB / 490.7 MB 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 7.239e-05/0.006268, allocations: 156.6 kB / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.006289, allocations: 3.938 kB / 0.5592 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.569e-05/0.006385, allocations: 52.88 kB / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.006387, allocations: 0 / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.00639, allocations: 0 / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006393, allocations: 4.281 kB / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.006521, allocations: 120.6 kB / 0.5594 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.006525, allocations: 4 kB / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.006552, allocations: 4 kB / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.006554, allocations: 0 / 0.5594 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.006563, allocations: 3.938 kB / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.006564, allocations: 0 / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.006565, allocations: 0 / 0.5594 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.006672, allocations: 187.9 kB / 0.5596 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.006681, allocations: 4 kB / 0.5596 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.006692, allocations: 7.969 kB / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.931e-05/0.006741, allocations: 4 kB / 0.5596 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.00678, allocations: 7.922 kB / 0.5596 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.006784, allocations: 4 kB / 0.5596 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.236e-05/0.006827, allocations: 119.2 kB / 0.5597 GB, free: 11.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.006827, allocations: 4 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.007065, allocations: 4 kB / 0.5597 GB, free: 11.45 MB / 490.7 MB 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.0001208/0.007186, allocations: 103.2 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.858e-05/0.007275, allocations: 19.69 kB / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.007276, allocations: 0 / 0.5599 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.162e-05/0.007298, allocations: 11.69 kB / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.007551, allocations: 7.984 kB / 0.5599 GB, free: 11.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.007813, allocations: 125.2 kB / 0.56 GB, free: 11.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.124e-05/0.007854, allocations: 51.36 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.915e-05/0.007874, allocations: 0 / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.007898, allocations: 12.62 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.007899, allocations: 4 kB / 0.5601 GB, free: 11.06 MB / 490.7 MB Notification: Performance of Templates: time 0.003158/0.01106, allocations: 0.6768 MB / 0.5607 GB, free: 10.39 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4812930086627603]