Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.001081/0.001081, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001222/0.001222, allocations: 169 kB / 23.27 MB, free: 1.223 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.001/1.001, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.00172/0.00172, allocations: 249.5 kB / 260.5 MB, free: 12.68 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.7592/0.7592, allocations: 138.4 MB / 455.5 MB, free: 30.05 MB / 410.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.723e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.9 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002989/0.003017, allocations: 1.499 MB / 0.5571 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004351/0.003452, allocations: 184.2 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.003497, allocations: 0 / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.207e-05/0.003529, allocations: 3.984 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.003583, allocations: 4 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.003877, allocations: 39.78 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.003946, allocations: 27.91 kB / 0.5573 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.004032, allocations: 4 kB / 0.5573 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.004092, allocations: 11.98 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.79e-05/0.00413, allocations: 8 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004144, allocations: 4 kB / 0.5573 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.947e-05/0.004243, allocations: 35.97 kB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.004261, allocations: 7.922 kB / 0.5574 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.004279, allocations: 4 kB / 0.5574 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.004406, allocations: 39.88 kB / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.004409, allocations: 0 / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00441, allocations: 0 / 0.5574 GB, free: 14.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.004414, allocations: 0 / 0.5574 GB, free: 14.02 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.0003673/0.004782, allocations: 372.6 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.004826, allocations: 9.938 kB / 0.5578 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.004862, allocations: 8.938 kB / 0.5578 GB, free: 13.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.413e-05/0.004946, allocations: 116.5 kB / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.004956, allocations: 384 / 0.5579 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.004963, allocations: 8.375 kB / 0.5579 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.005077, allocations: 54.89 kB / 0.558 GB, free: 13.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005085, allocations: 4.172 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.005092, allocations: 4.312 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.005098, allocations: 384 / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.005122, allocations: 7.938 kB / 0.558 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.005459, allocations: 228.4 kB / 0.5582 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.00552, allocations: 39.02 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.005538, allocations: 15.69 kB / 0.5582 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.831e-05/0.005606, allocations: 4.062 kB / 0.5582 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.005627, allocations: 33.39 kB / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.005628, allocations: 0 / 0.5583 GB, free: 13 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001232/0.005751, allocations: 45.62 kB / 0.5583 GB, free: 12.95 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.005779, allocations: 51.41 kB / 0.5584 GB, free: 12.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.005846, allocations: 157.9 kB / 0.5585 GB, free: 12.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005856, allocations: 25.7 kB / 0.5585 GB, free: 12.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.507e-05/0.005902, allocations: 138.8 kB / 0.5587 GB, free: 12.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.005917, allocations: 8.078 kB / 0.5587 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.005943, allocations: 19.31 kB / 0.5587 GB, free: 12.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.006056, allocations: 496.1 kB / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.022e-05/0.006067, allocations: 0 / 0.5592 GB, free: 12.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-06/0.006077, allocations: 4 kB / 0.5592 GB, free: 12.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.0061, allocations: 15.69 kB / 0.5592 GB, free: 11.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006102, allocations: 0 / 0.5592 GB, free: 11.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.516e-05/0.006147, allocations: 37.69 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.006167, allocations: 4 kB / 0.5592 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006171, allocations: 4.094 kB / 0.5592 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.006185, allocations: 3.938 kB / 0.5592 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.653e-05/0.006261, allocations: 7.938 kB / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.006264, allocations: 4 kB / 0.5593 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.006283, allocations: 7.938 kB / 0.5593 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006289, allocations: 3.984 kB / 0.5593 GB, free: 11.91 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 5.823e-05/0.006347, allocations: 156.6 kB / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.006359, allocations: 3.984 kB / 0.5594 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.006426, allocations: 45 kB / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.006429, allocations: 7.969 kB / 0.5595 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-06/0.006431, allocations: 0 / 0.5595 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.006433, allocations: 0 / 0.5595 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.369e-05/0.006517, allocations: 101.5 kB / 0.5596 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.006518, allocations: 3.938 kB / 0.5596 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.006539, allocations: 16 kB / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.006541, allocations: 0 / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.006545, allocations: 0 / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006546, allocations: 0 / 0.5596 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006547, allocations: 3.938 kB / 0.5596 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.046e-05/0.006628, allocations: 187.9 kB / 0.5598 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-06/0.006634, allocations: 7.984 kB / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-06/0.00664, allocations: 0 / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.957e-05/0.00667, allocations: 4 kB / 0.5598 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.006695, allocations: 3.984 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.006698, allocations: 7.938 kB / 0.5598 GB, free: 11.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.006731, allocations: 123.2 kB / 0.5599 GB, free: 11.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006731, allocations: 0 / 0.5599 GB, free: 11.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001494/0.00688, allocations: 15.94 kB / 0.5599 GB, free: 11.18 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.0001269/0.007007, allocations: 103.2 kB / 0.56 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.482e-05/0.007062, allocations: 23.61 kB / 0.56 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007064, allocations: 0 / 0.56 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.007082, allocations: 11.69 kB / 0.5601 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.00726, allocations: 13.02 kB / 0.5601 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.00747, allocations: 113.4 kB / 0.5602 GB, free: 10.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.0075, allocations: 55.3 kB / 0.5602 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.591e-05/0.007516, allocations: 4 kB / 0.5602 GB, free: 10.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.699e-05/0.007553, allocations: 70.33 kB / 0.5603 GB, free: 10.73 MB / 490.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007553, allocations: 4 kB / 0.5603 GB, free: 10.73 MB / 490.7 MB Notification: Performance of Templates: time 0.002029/0.009582, allocations: 0.6952 MB / 0.561 GB, free: 10.04 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.646929344628006]