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.001318/0.001318, allocations: 80.38 kB / 19.18 MB, free: 2.516 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.001407/0.001407, allocations: 162.6 kB / 22.46 MB, free: 5.375 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.419/1.419, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.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.002453/0.002453, allocations: 244.9 kB / 259.4 MB, free: 452 kB / 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.064/1.064, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.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.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.202e-06/1.202e-06, allocations: 0 / 0.6468 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.928e-05, allocations: 2.281 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.002394/0.002424, allocations: 1.468 MB / 0.6482 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.003251, allocations: 475.6 kB / 0.6487 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.49e-05/0.003285, allocations: 0 / 0.6487 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.00331, allocations: 4 kB / 0.6487 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.003366, allocations: 11.86 kB / 0.6487 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.003548, allocations: 23.92 kB / 0.6487 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.562e-05/0.003613, allocations: 23.92 kB / 0.6488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.00369, allocations: 4 kB / 0.6488 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.651e-05/0.003756, allocations: 19.92 kB / 0.6488 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.0038, allocations: 15.91 kB / 0.6488 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.003815, allocations: 4 kB / 0.6488 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.003869, allocations: 8 kB / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.003888, allocations: 7.984 kB / 0.6488 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.003903, allocations: 8 kB / 0.6488 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.004013, allocations: 39.88 kB / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.004015, allocations: 0 / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.01e-07/0.004015, allocations: 0 / 0.6489 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.004023, allocations: 0 / 0.6489 GB, free: 2.879 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.0004222/0.004445, allocations: 266.3 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.004478, allocations: 9.344 kB / 0.6491 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.341e-05/0.004501, allocations: 0.9375 kB / 0.6491 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.004614, allocations: 109.7 kB / 0.6492 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.004623, allocations: 4.375 kB / 0.6492 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.004637, allocations: 8.375 kB / 0.6492 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.004801, allocations: 50.17 kB / 0.6493 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.004809, allocations: 4.188 kB / 0.6493 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.004817, allocations: 384 / 0.6493 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.004823, allocations: 3.938 kB / 0.6493 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.004991, allocations: 31.95 kB / 0.6493 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.005284, allocations: 196.6 kB / 0.6495 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.005418, allocations: 46.48 kB / 0.6496 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.005503, allocations: 16.91 kB / 0.6496 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-05/0.005592, allocations: 7.938 kB / 0.6496 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.005629, allocations: 42.5 kB / 0.6496 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.00563, allocations: 0 / 0.6496 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003542/0.005984, allocations: 77.64 kB / 0.6497 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.00602, allocations: 55.53 kB / 0.6497 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.077e-05/0.006111, allocations: 101.8 kB / 0.6498 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.006128, allocations: 29.7 kB / 0.6499 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.006177, allocations: 92.08 kB / 0.65 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.006191, allocations: 3.953 kB / 0.65 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.006223, allocations: 13.72 kB / 0.65 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.006369, allocations: 318.8 kB / 0.6503 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.006451, allocations: 11.98 kB / 0.6503 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.006533, allocations: 23.92 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.006695, allocations: 44.88 kB / 0.6504 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.006696, allocations: 0 / 0.6504 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.006899, allocations: 61.67 kB / 0.6504 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.006912, allocations: 7.938 kB / 0.6504 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006915, allocations: 0 / 0.6504 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.006926, allocations: 0 / 0.6504 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.511e-05/0.007011, allocations: 16.02 kB / 0.6504 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.007014, allocations: 0 / 0.6504 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.874e-05/0.007063, allocations: 7.984 kB / 0.6504 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.007068, allocations: 0 / 0.6504 GB, free: 1.078 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 8.445e-05/0.007152, allocations: 113.8 kB / 0.6506 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.007185, allocations: 15.88 kB / 0.6506 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.007415, allocations: 68.97 kB / 0.6506 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.007421, allocations: 4.031 kB / 0.6506 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.007424, allocations: 4 kB / 0.6506 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.007428, allocations: 3.984 kB / 0.6507 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.007562, allocations: 97.58 kB / 0.6507 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.007565, allocations: 4 kB / 0.6507 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.206e-05/0.007627, allocations: 15.98 kB / 0.6508 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.007629, allocations: 0 / 0.6508 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.007637, allocations: 3.938 kB / 0.6508 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007638, allocations: 0 / 0.6508 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007638, allocations: 0 / 0.6508 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.0079, allocations: 163.5 kB / 0.6509 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.007908, allocations: 4 kB / 0.6509 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.007921, allocations: 3.938 kB / 0.6509 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.833e-05/0.008, allocations: 7.984 kB / 0.6509 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.008036, allocations: 7.938 kB / 0.6509 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.008039, allocations: 0 / 0.6509 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.008087, allocations: 83.27 kB / 0.651 GB, free: 436 kB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.008087, allocations: 3.938 kB / 0.651 GB, free: 432 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002278/0.008314, allocations: 11.94 kB / 0.651 GB, free: 420 kB / 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.0001424/0.008457, allocations: 99.28 kB / 0.6511 GB, free: 308 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.008668, allocations: 39.95 kB / 0.6512 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.00867, allocations: 0 / 0.6512 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.008758, allocations: 19.92 kB / 0.6512 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.009022, allocations: 8 kB / 0.6512 GB, free: 240 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.009286, allocations: 120.8 kB / 0.6513 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.421e-05/0.009341, allocations: 63.34 kB / 0.6514 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.983e-05/0.00936, allocations: 0 / 0.6514 GB, free: 8 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2279/0.2373, allocations: 8.5 kB / 0.6514 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.302e-06/0.2373, allocations: 0 / 0.6514 GB, free: 57.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.003096/0.2404, allocations: 0.6019 MB / 0.652 GB, free: 57.04 MB / 0.5606 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.693066313862801] Failed to read output from testmodel.py, exit status != 0: 0.24752706289291382 0.25697538400000003 0.25079206600000004 Calling exit ...