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.001396/0.001396, allocations: 88.72 kB / 19.44 MB, free: 356 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.001536/0.001536, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.494/1.494, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.002797/0.002797, allocations: 223.1 kB / 259.8 MB, free: 12.85 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 1.099/1.099, allocations: 138.5 MB / 454.7 MB, free: 1.477 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.623e-06/1.623e-06, allocations: 0 / 0.5543 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/3.935e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.003706/0.003746, allocations: 1.456 MB / 0.5558 GB, free: 15.38 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004948, allocations: 479.7 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.004986, allocations: 0 / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.713e-05/0.005033, allocations: 3.984 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.178e-05/0.005115, allocations: 7.875 kB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.005362, allocations: 19.92 kB / 0.5563 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.572e-05/0.005447, allocations: 31.91 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.005534, allocations: 0 / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.534e-05/0.00563, allocations: 27.86 kB / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.309e-05/0.005663, allocations: 0 / 0.5563 GB, free: 14.81 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.00568, allocations: 8 kB / 0.5563 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.005751, allocations: 15.98 kB / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.005766, allocations: 0 / 0.5563 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.0058, allocations: 15.92 kB / 0.5564 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.005938, allocations: 31.95 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.005941, allocations: 0 / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.005942, allocations: 0 / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.005947, allocations: 0 / 0.5564 GB, free: 14.74 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.0005157/0.006462, allocations: 270.3 kB / 0.5566 GB, free: 14.45 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.006509, allocations: 8.75 kB / 0.5566 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.006558, allocations: 8.891 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.006692, allocations: 117.7 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006706, allocations: 384 / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.006718, allocations: 4.375 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.006928, allocations: 50.23 kB / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.006937, allocations: 192 / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006948, allocations: 384 / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.006958, allocations: 3.938 kB / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.00714, allocations: 35.91 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.007506, allocations: 196.6 kB / 0.557 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.007656, allocations: 38.5 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/0.007753, allocations: 20.91 kB / 0.5571 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.00787, allocations: 7.984 kB / 0.5571 GB, free: 13.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.007908, allocations: 38.5 kB / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.007908, allocations: 0 / 0.5571 GB, free: 13.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.000408/0.008317, allocations: 85.64 kB / 0.5572 GB, free: 13.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.008369, allocations: 55.34 kB / 0.5573 GB, free: 13.69 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.008482, allocations: 105.8 kB / 0.5574 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.008501, allocations: 25.7 kB / 0.5574 GB, free: 13.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.008574, allocations: 88.09 kB / 0.5575 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.008594, allocations: 3.953 kB / 0.5575 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.008636, allocations: 13.72 kB / 0.5575 GB, free: 13.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.008829, allocations: 314.8 kB / 0.5578 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.125e-05/0.00892, allocations: 20.09 kB / 0.5578 GB, free: 13.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.681e-05/0.008997, allocations: 19.98 kB / 0.5578 GB, free: 13.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.009152, allocations: 36.83 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.009154, allocations: 0 / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002144/0.009368, allocations: 69.59 kB / 0.5579 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.009386, allocations: 8.031 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.009391, allocations: 4 kB / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.009408, allocations: 0 / 0.558 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.009497, allocations: 11.98 kB / 0.558 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.009505, allocations: 3.984 kB / 0.558 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.009558, allocations: 8.234 kB / 0.558 GB, free: 12.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.009566, allocations: 4 kB / 0.558 GB, free: 12.93 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 9.232e-05/0.009658, allocations: 113.8 kB / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.009685, allocations: 3.938 kB / 0.5581 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.009939, allocations: 76.97 kB / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009941, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.009945, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.009947, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.0101, allocations: 105.3 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.0101, allocations: 0 / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.025e-05/0.01016, allocations: 19.86 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.01016, allocations: 0 / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.01017, allocations: 3.938 kB / 0.5583 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01017, allocations: 4.031 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.01018, allocations: 4 kB / 0.5583 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.01045, allocations: 167.5 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-06/0.01046, allocations: 0 / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01048, allocations: 3.938 kB / 0.5585 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.01082, allocations: 7.984 kB / 0.5585 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.01086, allocations: 4 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01087, allocations: 4 kB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.433e-05/0.01093, allocations: 83.31 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01093, allocations: 0 / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002293/0.01115, allocations: 11.92 kB / 0.5586 GB, free: 12.27 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.0001611/0.01132, allocations: 103.2 kB / 0.5587 GB, free: 12.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.01153, allocations: 35.97 kB / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01153, allocations: 0 / 0.5587 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.937e-05/0.01163, allocations: 20.03 kB / 0.5587 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.01192, allocations: 8.062 kB / 0.5587 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003376/0.01226, allocations: 115.7 kB / 0.5588 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.958e-05/0.01233, allocations: 59.34 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.674e-05/0.01235, allocations: 4 kB / 0.5589 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.01238, allocations: 8.5 kB / 0.5589 GB, free: 11.87 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01238, allocations: 3.938 kB / 0.5589 GB, free: 11.86 MB / 490.7 MB Notification: Performance of Templates: time 0.003563/0.01595, allocations: 0.6211 MB / 0.5595 GB, free: 11.25 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.648317763931118]