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.001063/0.001063, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001164/0.001164, allocations: 173.4 kB / 23.36 MB, free: 1.133 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.042/1.042, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.001513/0.001513, allocations: 246 kB / 260.5 MB, free: 12.71 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.6886/0.6886, allocations: 138.4 MB / 402.2 MB, free: 496 kB / 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.783e-06/1.783e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.322e-05, allocations: 4.969 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.001909/0.001923, allocations: 1.505 MB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.00261, allocations: 0.4911 MB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.002644, allocations: 0 / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.002669, allocations: 4.062 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.974e-05/0.002738, allocations: 6.172 kB / 464.3 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.002941, allocations: 23.55 kB / 464.3 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.198e-05/0.003013, allocations: 30.55 kB / 464.4 MB, free: 15.59 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.165e-05/0.003085, allocations: 6.469 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.003163, allocations: 14.05 kB / 464.4 MB, free: 15.58 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.003201, allocations: 11.17 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.003214, allocations: 1.656 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.003275, allocations: 18.08 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.003292, allocations: 6.406 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.587e-05/0.003308, allocations: 6.172 kB / 464.4 MB, free: 15.57 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 9.642e-05/0.003404, allocations: 30.27 kB / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003407, allocations: 0 / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003407, allocations: 0 / 464.5 MB, free: 15.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003411, allocations: 1.531 kB / 464.5 MB, free: 15.55 MB / 426.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.0002996/0.00371, allocations: 235 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.003748, allocations: 10.84 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.003775, allocations: 8.688 kB / 464.7 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.175e-05/0.003857, allocations: 114.1 kB / 464.8 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.003867, allocations: 1.438 kB / 464.8 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.003877, allocations: 3.125 kB / 464.8 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.396e-05/0.003971, allocations: 51.09 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.003978, allocations: 2.078 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.003985, allocations: 384 / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003991, allocations: 7.875 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.004012, allocations: 6.078 kB / 464.9 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.004197, allocations: 149.1 kB / 465 MB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.216e-05/0.004239, allocations: 24.97 kB / 465.1 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.004254, allocations: 7.672 kB / 465.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.00433, allocations: 6.422 kB / 465.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.004347, allocations: 32.38 kB / 465.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.004348, allocations: 0.5625 kB / 465.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.000111/0.004459, allocations: 49.58 kB / 465.2 MB, free: 14.87 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.004491, allocations: 54.09 kB / 465.2 MB, free: 14.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.737e-05/0.004548, allocations: 108.2 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.004559, allocations: 27.06 kB / 465.3 MB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.004587, allocations: 84.23 kB / 465.4 MB, free: 14.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.004603, allocations: 5.609 kB / 465.4 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.004626, allocations: 13.97 kB / 465.4 MB, free: 14.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.004702, allocations: 318 kB / 465.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.063e-05/0.004712, allocations: 6.125 kB / 465.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-06/0.00472, allocations: 1.125 kB / 465.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.063e-05/0.00474, allocations: 12.8 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.004742, allocations: 1.406 kB / 465.8 MB, free: 14.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.99e-05/0.004782, allocations: 38.62 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.004794, allocations: 5.906 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004799, allocations: 1.422 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.004811, allocations: 5.062 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.004861, allocations: 6.547 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.004864, allocations: 1.797 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.004881, allocations: 7.906 kB / 465.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.004886, allocations: 1.375 kB / 465.8 MB, free: 14.2 MB / 426.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 4.579e-05/0.004931, allocations: 109.2 kB / 466 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.004944, allocations: 1.688 kB / 466 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.005001, allocations: 46.78 kB / 466 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.005005, allocations: 5.859 kB / 466 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.005006, allocations: 0.9688 kB / 466 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.005009, allocations: 1.25 kB / 466 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.382e-05/0.005083, allocations: 70.53 kB / 466.1 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005084, allocations: 3.938 kB / 466.1 MB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.898e-05/0.005103, allocations: 10.75 kB / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005104, allocations: 1.531 kB / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-06/0.005107, allocations: 1.25 kB / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.01e-07/0.005108, allocations: 0.9688 kB / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005109, allocations: 0 / 466.1 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.005174, allocations: 138.1 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.005181, allocations: 2.578 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-06/0.00519, allocations: 2.75 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.823e-05/0.005218, allocations: 3.688 kB / 466.2 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.005246, allocations: 10.64 kB / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.005248, allocations: 1.5 kB / 466.2 MB, free: 13.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.254e-05/0.005261, allocations: 14.81 kB / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005261, allocations: 0.6562 kB / 466.3 MB, free: 13.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001236/0.005385, allocations: 6.375 kB / 466.3 MB, free: 13.8 MB / 426.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 8.801e-05/0.005473, allocations: 84.92 kB / 466.4 MB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.631e-05/0.005519, allocations: 11.94 kB / 466.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005521, allocations: 1.344 kB / 466.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.005534, allocations: 9.688 kB / 466.4 MB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.005658, allocations: 14.14 kB / 466.4 MB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000192/0.00585, allocations: 106 kB / 466.5 MB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.005883, allocations: 55.3 kB / 466.5 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.609e-05/0.005899, allocations: 1.25 kB / 466.5 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.346e-05/0.005942, allocations: 56.73 kB / 466.6 MB, free: 13.48 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.005943, allocations: 0 / 466.6 MB, free: 13.48 MB / 426.7 MB Notification: Performance of Templates: time 0.002158/0.008101, allocations: 0.6263 MB / 467.2 MB, free: 13.42 MB / 426.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.557464831043035]