Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001472/0.001472, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.001474/0.001474, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.335/1.335, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.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.00221/0.00221, allocations: 284.8 kB / 303.6 MB, free: 3.633 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.023/1.023, allocations: 180.9 MB / 0.5268 GB, free: 2.719 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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 100.2 kB / 0.726 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4898, allocations: 94.16 MB / 0.8179 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001495/0.4913, allocations: 0.5953 MB / 0.8185 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.4924, allocations: 1.111 MB / 0.8196 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.4924, allocations: 0 / 0.8196 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.629e-05/0.4924, allocations: 3.938 kB / 0.8196 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.4927, allocations: 20.55 kB / 0.8196 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.4927, allocations: 0 / 0.8196 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.537e-05/0.4927, allocations: 2.844 kB / 0.8196 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.4927, allocations: 6.312 kB / 0.8196 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.4928, allocations: 9.719 kB / 0.8196 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.692e-05/0.4928, allocations: 0.9062 kB / 0.8196 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.4928, allocations: 0.9062 kB / 0.8196 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.4929, allocations: 27.61 kB / 0.8196 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.693e-06/0.4929, allocations: 0.8438 kB / 0.8196 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.276e-05/0.4929, allocations: 0.75 kB / 0.8196 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 7.54e-05/0.493, allocations: 20.14 kB / 0.8197 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.493, allocations: 1 kB / 0.8197 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.82e-07/0.493, allocations: 0 / 0.8197 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.493, allocations: 0 / 0.8197 GB, free: 6.391 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.0002033/0.4932, allocations: 316.9 kB / 0.82 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.4932, allocations: 9.5 kB / 0.82 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.4933, allocations: 9.5 kB / 0.82 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.571e-05/0.4933, allocations: 165.6 kB / 0.8201 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.4933, allocations: 384 / 0.8201 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.4933, allocations: 6.094 kB / 0.8202 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.22e-05/0.4934, allocations: 37.39 kB / 0.8202 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4934, allocations: 3.953 kB / 0.8202 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.4934, allocations: 4.781 kB / 0.8202 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.4935, allocations: 0.5625 kB / 0.8202 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.118e-05/0.4935, allocations: 4.562 kB / 0.8202 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.933e-05/0.4936, allocations: 150.5 kB / 0.8203 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.4937, allocations: 40.11 kB / 0.8204 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.4938, allocations: 7.047 kB / 0.8204 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.4939, allocations: 87.81 kB / 0.8205 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.269e-05/0.4939, allocations: 43.69 kB / 0.8205 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.4939, allocations: 0 / 0.8205 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004023/0.4979, allocations: 0.5639 MB / 0.8211 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.4979, allocations: 56.81 kB / 0.8211 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.809e-05/0.498, allocations: 89.86 kB / 0.8212 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.498, allocations: 26.89 kB / 0.8212 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.001e-05/0.498, allocations: 84.14 kB / 0.8213 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.498, allocations: 22.62 kB / 0.8213 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.4981, allocations: 17.53 kB / 0.8213 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.067e-05/0.4981, allocations: 319.8 kB / 0.8217 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.4987, allocations: 80.47 kB / 0.8217 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.4993, allocations: 109.7 kB / 0.8218 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.5004, allocations: 185.8 kB / 0.822 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5004, allocations: 1.188 kB / 0.822 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001174/0.5015, allocations: 220.6 kB / 0.8222 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.5015, allocations: 5.25 kB / 0.8222 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5016, allocations: 2.625 kB / 0.8222 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.5016, allocations: 0 / 0.8222 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.5019, allocations: 56.72 kB / 0.8223 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.5019, allocations: 0 / 0.8223 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.5023, allocations: 39.56 kB / 0.8223 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.5023, allocations: 5.906 kB / 0.8223 GB, free: 4.527 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 5.903e-05/0.5023, allocations: 112.5 kB / 0.8224 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.848e-05/0.5024, allocations: 3.938 kB / 0.8224 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.5036, allocations: 233.3 kB / 0.8227 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5036, allocations: 3.438 kB / 0.8227 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5036, allocations: 4 kB / 0.8227 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5036, allocations: 3.281 kB / 0.8227 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.505, allocations: 451.7 kB / 0.8231 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.505, allocations: 3.938 kB / 0.8231 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003613/0.5053, allocations: 47.56 kB / 0.8232 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5053, allocations: 3.609 kB / 0.8232 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.5054, allocations: 4.75 kB / 0.8232 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5054, allocations: 0 / 0.8232 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5054, allocations: 0.5156 kB / 0.8232 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.5065, allocations: 313.3 kB / 0.8235 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.591e-05/0.5065, allocations: 80.41 kB / 0.8235 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.5066, allocations: 0.5625 kB / 0.8235 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.5069, allocations: 40.89 kB / 0.8236 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.5069, allocations: 1.359 kB / 0.8236 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5069, allocations: 6.688 kB / 0.8236 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.169e-05/0.5069, allocations: 75.28 kB / 0.8237 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.5069, allocations: 0 / 0.8237 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002343/0.5072, allocations: 15.36 kB / 0.8237 GB, free: 3.66 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 (5): * Single equations (assignments): 5 * 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.0001386/0.5073, allocations: 108.8 kB / 0.8238 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.5085, allocations: 179.6 kB / 0.8239 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5085, allocations: 8.125 kB / 0.824 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.509, allocations: 87.14 kB / 0.824 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.5093, allocations: 4 kB / 0.824 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.5103, allocations: 244.7 kB / 0.8243 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.038e-05/0.5104, allocations: 0.6779 MB / 0.8249 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.845e-05/0.5105, allocations: 12.25 kB / 0.8249 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5105, allocations: 0 / 0.8249 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of Templates: time 0.002667/0.5131, allocations: 1.111 MB / 0.826 GB, free: 2.59 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.903363442979753] Failed to read output from testmodel.py, exit status != 0: 0.5199865538161248 0.531595962 0.036021852 Calling exit ...