Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001586/0.001586, allocations: 97.39 kB / 16.26 MB, free: 6.406 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.001617/0.001617, allocations: 186.8 kB / 17.2 MB, free: 5.938 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.462/1.462, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4345, allocations: 77.93 MB / 0.5672 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002644/0.4372, allocations: 1.445 MB / 0.5686 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008112/0.4381, allocations: 0.5599 MB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.4381, allocations: 1.188 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.4381, allocations: 4.828 kB / 0.5692 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.577e-05/0.4382, allocations: 10.08 kB / 0.5692 GB, free: 31.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.4385, allocations: 49.28 kB / 0.5692 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.455e-05/0.4385, allocations: 26.28 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.13e-05/0.4386, allocations: 5.797 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.4387, allocations: 23.88 kB / 0.5693 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.4388, allocations: 15.17 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4388, allocations: 2.938 kB / 0.5693 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4389, allocations: 54.08 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.439, allocations: 3.047 kB / 0.5693 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.439, allocations: 12.47 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.4391, allocations: 62.09 kB / 0.5694 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4392, allocations: 5.406 kB / 0.5694 GB, free: 31.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4392, allocations: 0 / 0.5694 GB, free: 31.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.4392, allocations: 1.156 kB / 0.5694 GB, free: 31.22 MB / 446.1 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.0003452/0.4395, allocations: 355.7 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.4396, allocations: 10.22 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.4396, allocations: 2.125 kB / 0.5698 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.442e-05/0.4397, allocations: 168.9 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.4397, allocations: 1.75 kB / 0.5699 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.4397, allocations: 6 kB / 0.5699 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4399, allocations: 48.33 kB / 0.57 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.4399, allocations: 0 / 0.57 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4399, allocations: 6.062 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4399, allocations: 1.188 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.581e-05/0.44, allocations: 20.28 kB / 0.57 GB, free: 30.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.4403, allocations: 254.1 kB / 0.5702 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.4404, allocations: 32.19 kB / 0.5703 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.4404, allocations: 20.22 kB / 0.5703 GB, free: 30.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007028/0.4411, allocations: 475.3 kB / 0.5708 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.4412, allocations: 34.52 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4412, allocations: 3.938 kB / 0.5708 GB, free: 29.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002167/0.4414, allocations: 62.34 kB / 0.5708 GB, free: 29.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.4414, allocations: 53.94 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.897e-05/0.4415, allocations: 107.3 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.4415, allocations: 31.89 kB / 0.571 GB, free: 29.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.4415, allocations: 87.41 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.4415, allocations: 5.859 kB / 0.5711 GB, free: 29.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.4416, allocations: 16.95 kB / 0.5711 GB, free: 29.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.4416, allocations: 314.9 kB / 0.5714 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.4417, allocations: 11.12 kB / 0.5714 GB, free: 29.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.4417, allocations: 8.859 kB / 0.5715 GB, free: 29.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.4418, allocations: 33.89 kB / 0.5715 GB, free: 29.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4418, allocations: 0 / 0.5715 GB, free: 29.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001074/0.4419, allocations: 60.45 kB / 0.5715 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4419, allocations: 6.766 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4419, allocations: 0 / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.442, allocations: 2.656 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.584e-05/0.442, allocations: 5.375 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.442, allocations: 1.938 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.4421, allocations: 6.266 kB / 0.5716 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.4421, allocations: 1.844 kB / 0.5716 GB, free: 29.04 MB / 446.1 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.531e-05/0.4421, allocations: 117.3 kB / 0.5717 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.4422, allocations: 7.969 kB / 0.5717 GB, free: 28.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.4423, allocations: 66.11 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4423, allocations: 0 / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4423, allocations: 4.703 kB / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4424, allocations: 0 / 0.5718 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.4425, allocations: 162.4 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4425, allocations: 1.562 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.4425, allocations: 4.234 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4425, allocations: 1.984 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4425, allocations: 1.031 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4425, allocations: 0.6562 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4426, allocations: 1.031 kB / 0.5719 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.4427, allocations: 162.3 kB / 0.5721 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.4427, allocations: 77.95 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.4427, allocations: 1.703 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.903e-05/0.4428, allocations: 4.234 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.4428, allocations: 2.125 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.4428, allocations: 2.219 kB / 0.5722 GB, free: 28.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.643e-05/0.4429, allocations: 88.12 kB / 0.5722 GB, free: 28.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4429, allocations: 0 / 0.5722 GB, free: 28.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.4431, allocations: 18.05 kB / 0.5723 GB, free: 28.34 MB / 446.1 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.0001294/0.4433, allocations: 107.6 kB / 0.5724 GB, free: 28.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.4434, allocations: 26.62 kB / 0.5724 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4434, allocations: 4.938 kB / 0.5724 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.4434, allocations: 18.97 kB / 0.5724 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.4437, allocations: 7.812 kB / 0.5724 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000257/0.4439, allocations: 128.3 kB / 0.5725 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.756e-05/0.444, allocations: 0.6809 MB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.091e-05/0.4441, allocations: 6.422 kB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.4441, allocations: 8.688 kB / 0.5732 GB, free: 27.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4441, allocations: 1.375 kB / 0.5732 GB, free: 27.41 MB / 446.1 MB Notification: Performance of Templates: time 0.002625/0.4467, allocations: 0.6696 MB / 0.5739 GB, free: 27.37 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)