Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 107.7 kB / 16.41 MB, free: 6.496 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.001186/0.001186, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002019/0.00202, allocations: 287.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8858/0.8858, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3624, allocations: 86.98 MB / 0.7671 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002363/0.3648, allocations: 1.449 MB / 0.7685 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.3657, allocations: 0.5714 MB / 0.769 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.217e-05/0.3658, allocations: 3.938 kB / 0.769 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.3658, allocations: 0 / 0.769 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.271e-05/0.3658, allocations: 7.938 kB / 0.7691 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.3661, allocations: 51.81 kB / 0.7691 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.108e-05/0.3662, allocations: 27.92 kB / 0.7691 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.357e-05/0.3662, allocations: 4 kB / 0.7691 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.3663, allocations: 15.88 kB / 0.7691 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.3664, allocations: 19.91 kB / 0.7692 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3664, allocations: 4 kB / 0.7692 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3665, allocations: 47.95 kB / 0.7692 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.3665, allocations: 8 kB / 0.7692 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.3666, allocations: 15.86 kB / 0.7692 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001411/0.3667, allocations: 67.66 kB / 0.7693 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3667, allocations: 0 / 0.7693 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3667, allocations: 0 / 0.7693 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.3667, allocations: 0 / 0.7693 GB, free: 1.762 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.0003707/0.3671, allocations: 343.5 kB / 0.7696 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3671, allocations: 12.03 kB / 0.7696 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3672, allocations: 8.828 kB / 0.7696 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.3673, allocations: 174.8 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.3673, allocations: 4.375 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.3673, allocations: 384 / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.3675, allocations: 49.94 kB / 0.7699 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3675, allocations: 0 / 0.7699 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3675, allocations: 0 / 0.7699 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.3675, allocations: 4 kB / 0.7699 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.3676, allocations: 15.98 kB / 0.7699 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.3679, allocations: 256.9 kB / 0.7701 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.415e-05/0.368, allocations: 34.5 kB / 0.7702 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.368, allocations: 16.92 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/0.3688, allocations: 477.4 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.3688, allocations: 34.56 kB / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.3688, allocations: 0 / 0.7707 GB, free: 112 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0002387/0.3691, allocations: 57.67 kB / 0.7707 GB, free: 48 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3691, allocations: 55.41 kB / 0.7708 GB, free: 15.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.3692, allocations: 109.8 kB / 0.7709 GB, free: 15.86 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.3692, allocations: 25.83 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.3693, allocations: 84.14 kB / 0.771 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.577e-05/0.3693, allocations: 23.72 kB / 0.771 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.3693, allocations: 13.7 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.3694, allocations: 314.8 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.3695, allocations: 8 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.3695, allocations: 15.92 kB / 0.7713 GB, free: 15.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/0.3696, allocations: 28.91 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3696, allocations: 3.938 kB / 0.7714 GB, free: 15.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001136/0.3697, allocations: 57.59 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3697, allocations: 4 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3698, allocations: 0 / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.3698, allocations: 4 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.3698, allocations: 11.92 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3699, allocations: 0 / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.3699, allocations: 4.031 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3699, allocations: 0 / 0.7715 GB, free: 15.24 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.845e-05/0.37, allocations: 113.8 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.37, allocations: 0 / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.3702, allocations: 61.2 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3702, allocations: 7.984 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3702, allocations: 3.984 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3702, allocations: 77.11 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.3702, allocations: 4.031 kB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.3703, allocations: 4 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.742e-05/0.3703, allocations: 3.938 kB / 0.7717 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001446/0.3705, allocations: 136.9 kB / 0.7718 GB, free: 14.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001671/0.3707, allocations: 230.8 kB / 0.7721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.521e-05/0.3707, allocations: 12 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.3708, allocations: 91.58 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of Backend: time 3.1e-07/0.3708, allocations: 0 / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003737/0.3711, allocations: 112.3 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003761/0.3715, allocations: 0.5582 MB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Templates: time 0.002516/0.3741, allocations: 0.7836 MB / 0.7736 GB, free: 12.95 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)