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.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.001536/0.001536, 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.001575/0.001575, 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.346/1.346, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.002315/0.002315, allocations: 284.5 kB / 303.6 MB, free: 3.707 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 0.9943/0.9943, allocations: 180.9 MB / 0.5268 GB, free: 3.055 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.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 0.002623/0.002623, allocations: 99.84 kB / 0.7259 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5065, allocations: 94.15 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002194/0.5087, allocations: 1.443 MB / 0.8193 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006432/0.5093, allocations: 480.2 kB / 0.8197 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.133e-05/0.5094, allocations: 0.5938 kB / 0.8197 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.5094, allocations: 0.8438 kB / 0.8197 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.5095, allocations: 4.531 kB / 0.8197 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.5096, allocations: 22.88 kB / 0.8198 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.5097, allocations: 28.67 kB / 0.8198 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.573e-05/0.5098, allocations: 10.44 kB / 0.8198 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.5098, allocations: 11.69 kB / 0.8198 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.5099, allocations: 13.95 kB / 0.8198 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.5099, allocations: 1.938 kB / 0.8198 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.51, allocations: 22.73 kB / 0.8198 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.51, allocations: 12.62 kB / 0.8199 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.51, allocations: 9.25 kB / 0.8199 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.581e-05/0.5101, allocations: 27.55 kB / 0.8199 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.5101, allocations: 0 / 0.8199 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5101, allocations: 0.9375 kB / 0.8199 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5101, allocations: 0 / 0.8199 GB, free: 6.02 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.0003357/0.5104, allocations: 352.2 kB / 0.8202 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5105, allocations: 9.25 kB / 0.8202 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.5105, allocations: 2.75 kB / 0.8202 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.981e-05/0.5106, allocations: 176.8 kB / 0.8204 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.5106, allocations: 1.875 kB / 0.8204 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.5106, allocations: 5.188 kB / 0.8204 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.5107, allocations: 51.89 kB / 0.8205 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5107, allocations: 0.8438 kB / 0.8205 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.5108, allocations: 4 kB / 0.8205 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.5108, allocations: 4.719 kB / 0.8205 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.5109, allocations: 33.17 kB / 0.8205 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.5111, allocations: 247.1 kB / 0.8207 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5113, allocations: 37.8 kB / 0.8208 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.5113, allocations: 25.34 kB / 0.8208 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.502e-05/0.5114, allocations: 88.59 kB / 0.8209 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.5114, allocations: 39.42 kB / 0.8209 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.5114, allocations: 0 / 0.8209 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003245/0.5118, allocations: 86.14 kB / 0.821 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.5118, allocations: 59.28 kB / 0.8211 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.134e-05/0.5118, allocations: 104.1 kB / 0.8212 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.5118, allocations: 25.7 kB / 0.8212 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.5119, allocations: 85.62 kB / 0.8213 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.5119, allocations: 0.875 kB / 0.8213 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.5119, allocations: 16.38 kB / 0.8213 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.851e-05/0.512, allocations: 315.2 kB / 0.8216 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.978e-05/0.512, allocations: 18.88 kB / 0.8216 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.5121, allocations: 15.19 kB / 0.8216 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.5122, allocations: 46.48 kB / 0.8217 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5122, allocations: 0 / 0.8217 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001749/0.5124, allocations: 75.19 kB / 0.8217 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.5124, allocations: 5 kB / 0.8217 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5124, allocations: 3.375 kB / 0.8217 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5124, allocations: 1.094 kB / 0.8217 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.549e-05/0.5125, allocations: 6.094 kB / 0.8218 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.5125, allocations: 0 / 0.8218 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.5126, allocations: 7.125 kB / 0.8218 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.5126, allocations: 1.406 kB / 0.8218 GB, free: 4.195 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 4.092e-05/0.5126, allocations: 115.1 kB / 0.8219 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.5126, allocations: 2.109 kB / 0.8219 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5128, allocations: 76.05 kB / 0.8219 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5128, allocations: 1.25 kB / 0.8219 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5128, allocations: 0 / 0.8219 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5128, allocations: 0 / 0.8219 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.5129, allocations: 160.9 kB / 0.8221 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5129, allocations: 1.094 kB / 0.8221 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-05/0.513, allocations: 13.52 kB / 0.8221 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.513, allocations: 0 / 0.8221 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.513, allocations: 1 kB / 0.8221 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.513, allocations: 0.9688 kB / 0.8221 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.513, allocations: 4 kB / 0.8221 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.5132, allocations: 172.5 kB / 0.8223 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.5132, allocations: 82.61 kB / 0.8224 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.5132, allocations: 1.312 kB / 0.8224 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.5133, allocations: 9.703 kB / 0.8224 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.5133, allocations: 1.312 kB / 0.8224 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.5133, allocations: 5.469 kB / 0.8224 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.097e-05/0.5134, allocations: 82.91 kB / 0.8225 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5134, allocations: 0 / 0.8225 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002257/0.5136, allocations: 9.625 kB / 0.8225 GB, free: 3.496 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.0001079/0.5137, allocations: 101.7 kB / 0.8226 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.5139, allocations: 47.05 kB / 0.8226 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.5139, allocations: 0 / 0.8226 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.514, allocations: 20.98 kB / 0.8226 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5142, allocations: 6.25 kB / 0.8226 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.5144, allocations: 138.7 kB / 0.8228 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.532e-05/0.5145, allocations: 0.6766 MB / 0.8234 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.5145, allocations: 8.562 kB / 0.8234 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.5145, allocations: 0 / 0.8234 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of Templates: time 0.002053/0.5166, allocations: 0.659 MB / 0.8241 GB, free: 2.484 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.778497487073764] Failed to read output from testmodel.py, exit status != 0: 0.52340307389386 0.5347937580000001 0.021672016000000002 Calling exit ...