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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 114.7 kB / 16.42 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 190 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.216/1.216, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002035/0.002035, allocations: 286.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8776/0.8776, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3685, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002198/0.3708, allocations: 1.441 MB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.3711, allocations: 196.2 kB / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/0.3712, allocations: 0 / 0.7686 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.259e-05/0.3712, allocations: 3.938 kB / 0.7687 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.85e-05/0.3713, allocations: 7.922 kB / 0.7687 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3715, allocations: 39.89 kB / 0.7687 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.3716, allocations: 23.94 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.319e-05/0.3716, allocations: 7.984 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.276e-05/0.3717, allocations: 4 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.3717, allocations: 19.91 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3717, allocations: 4 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.648e-05/0.3718, allocations: 31.97 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.3718, allocations: 0 / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.3719, allocations: 15.92 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.372, allocations: 43.81 kB / 0.7688 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.372, allocations: 4 kB / 0.7688 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.372, allocations: 4 kB / 0.7688 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.372, allocations: 0 / 0.7688 GB, free: 2.062 MB / 0.5294 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.0003914/0.3724, allocations: 339.1 kB / 0.7692 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3724, allocations: 12.03 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.3725, allocations: 0.9375 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.937e-05/0.3726, allocations: 168.3 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3726, allocations: 4.375 kB / 0.7693 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3726, allocations: 4.375 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.3728, allocations: 50.23 kB / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.3728, allocations: 192 / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.3728, allocations: 3.938 kB / 0.7694 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3728, allocations: 3.938 kB / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.373, allocations: 39.89 kB / 0.7694 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.3733, allocations: 253 kB / 0.7697 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.3734, allocations: 38.5 kB / 0.7697 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.3735, allocations: 20.91 kB / 0.7697 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.317e-05/0.3736, allocations: 85.09 kB / 0.7698 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.3736, allocations: 34.56 kB / 0.7699 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3736, allocations: 4 kB / 0.7699 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003329/0.3739, allocations: 77.58 kB / 0.7699 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.374, allocations: 59.41 kB / 0.77 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.374, allocations: 93.86 kB / 0.7701 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3741, allocations: 29.7 kB / 0.7701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.3741, allocations: 88.12 kB / 0.7702 GB, free: 476 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.3741, allocations: 6.562 kB / 0.7702 GB, free: 472 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.3741, allocations: 17.72 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.3742, allocations: 314.8 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.919e-05/0.3743, allocations: 11.98 kB / 0.7705 GB, free: 112 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.75e-05/0.3744, allocations: 19.97 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3746, allocations: 40.89 kB / 0.7706 GB, free: 48 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3746, allocations: 3.938 kB / 0.7706 GB, free: 44 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001989/0.3748, allocations: 73.53 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.3748, allocations: 4 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3748, allocations: 0 / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3748, allocations: 4 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.3749, allocations: 7.984 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3749, allocations: 0 / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.375, allocations: 12.03 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.375, allocations: 0 / 0.7707 GB, free: 15.94 MB / 0.545 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 6.459e-05/0.375, allocations: 116.2 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.3751, allocations: 8.094 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3753, allocations: 76.72 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3753, allocations: 0 / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3753, allocations: 8.031 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.3753, allocations: 77.11 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.3754, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.3754, allocations: 11.92 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.3755, allocations: 4 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002393/0.3757, allocations: 152.9 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002409/0.376, allocations: 238.8 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.29e-05/0.3761, allocations: 15.98 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.3761, allocations: 83.28 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of Backend: time 2.51e-07/0.3761, allocations: 0 / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004055/0.3765, allocations: 110.4 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003585/0.3769, allocations: 0.5532 MB / 0.7721 GB, free: 14.39 MB / 0.545 GB Notification: Performance of Templates: time 0.002452/0.3794, allocations: 0.6971 MB / 0.7728 GB, free: 13.7 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)