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.004158/0.004158, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.0009989/0.000999, allocations: 201.2 kB / 16.68 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 290.2 kB / 290.8 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9635/0.9635, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 91.86 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1554, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002615/0.158, allocations: 1.454 MB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008769/0.1589, allocations: 0.5624 MB / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.159, allocations: 0 / 0.7684 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.258e-05/0.159, allocations: 3.938 kB / 0.7684 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.353e-05/0.159, allocations: 3.938 kB / 0.7684 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.1593, allocations: 55.75 kB / 0.7684 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.1593, allocations: 27.88 kB / 0.7684 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.428e-05/0.1594, allocations: 7.984 kB / 0.7685 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.1595, allocations: 11.94 kB / 0.7685 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.1595, allocations: 19.92 kB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1595, allocations: 4 kB / 0.7685 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1597, allocations: 55.94 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.1597, allocations: 7.938 kB / 0.7686 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1597, allocations: 7.938 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1598, allocations: 67.73 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1598, allocations: 3.984 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.41e-07/0.1599, allocations: 0 / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1599, allocations: 0 / 0.7686 GB, free: 6.113 MB / 0.5606 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.0003459/0.1602, allocations: 355.2 kB / 0.769 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.1602, allocations: 8.031 kB / 0.769 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.1603, allocations: 0.9375 kB / 0.769 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.1604, allocations: 176.3 kB / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.1604, allocations: 384 / 0.7691 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1604, allocations: 8.375 kB / 0.7692 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.1605, allocations: 49.92 kB / 0.7692 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1605, allocations: 0 / 0.7692 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1606, allocations: 4 kB / 0.7692 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.1606, allocations: 3.938 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.828e-05/0.1606, allocations: 19.98 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002615/0.1609, allocations: 252.9 kB / 0.7695 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.669e-05/0.161, allocations: 34.56 kB / 0.7695 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.161, allocations: 12.92 kB / 0.7695 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.1618, allocations: 485.3 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.1618, allocations: 34.56 kB / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.1618, allocations: 0 / 0.77 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002096/0.162, allocations: 65.67 kB / 0.7701 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1621, allocations: 55.53 kB / 0.7701 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.1622, allocations: 105.8 kB / 0.7702 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.1622, allocations: 25.7 kB / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1622, allocations: 92.09 kB / 0.7703 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.1622, allocations: 3.953 kB / 0.7703 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1623, allocations: 17.72 kB / 0.7704 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1624, allocations: 314.8 kB / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.1624, allocations: 8 kB / 0.7707 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.1625, allocations: 19.92 kB / 0.7707 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.1625, allocations: 28.78 kB / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1626, allocations: 0 / 0.7707 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000117/0.1627, allocations: 53.62 kB / 0.7708 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.1627, allocations: 10.66 kB / 0.7708 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1627, allocations: 0 / 0.7708 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1627, allocations: 4.094 kB / 0.7708 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.1628, allocations: 7.984 kB / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1628, allocations: 0 / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.1629, allocations: 0 / 0.7708 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1629, allocations: 4 kB / 0.7708 GB, free: 3.586 MB / 0.5606 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 9.753e-05/0.163, allocations: 118.4 kB / 0.7709 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.163, allocations: 4 kB / 0.7709 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.1632, allocations: 73.09 kB / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1632, allocations: 0 / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1632, allocations: 0 / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1632, allocations: 0 / 0.771 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.1634, allocations: 165.6 kB / 0.7711 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.1634, allocations: 0 / 0.7711 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.364e-05/0.1635, allocations: 11.92 kB / 0.7711 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1635, allocations: 0 / 0.7711 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1635, allocations: 0 / 0.7711 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1635, allocations: 0 / 0.7711 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1635, allocations: 0 / 0.7711 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.1637, allocations: 159.5 kB / 0.7713 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1638, allocations: 81.11 kB / 0.7714 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.1638, allocations: 3.984 kB / 0.7714 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.1638, allocations: 4 kB / 0.7714 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.1639, allocations: 0 / 0.7714 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1639, allocations: 0 / 0.7714 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.272e-05/0.164, allocations: 95.61 kB / 0.7715 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/0.164, allocations: 0 / 0.7715 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002389/0.1642, allocations: 15.95 kB / 0.7715 GB, free: 2.77 MB / 0.5606 GB 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.0001979/0.1644, allocations: 115.2 kB / 0.7716 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.1646, allocations: 27.92 kB / 0.7716 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1646, allocations: 0 / 0.7716 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.1646, allocations: 15.98 kB / 0.7716 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1649, allocations: 8.062 kB / 0.7716 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1652, allocations: 126.5 kB / 0.7718 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1655, allocations: 0.6807 MB / 0.7724 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.195e-05/0.1655, allocations: 8.203 kB / 0.7724 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.1656, allocations: 11.44 kB / 0.7725 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of SimCode: time 4.4e-07/0.1656, allocations: 0 / 0.7725 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of Templates: time 0.003184/0.1688, allocations: 0.6797 MB / 0.7731 GB, free: 1.039 MB / 0.5606 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)