Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001293/0.001293, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.256/1.256, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 277.2 kB / 291.3 MB, free: 14.58 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8735/0.8735, allocations: 169.3 MB / 0.4988 GB, free: 4.539 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001832, allocations: 102.1 kB / 0.5959 GB, free: 15.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1513, allocations: 86.96 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001752/0.153, allocations: 0.5907 MB / 0.6814 GB, free: 7.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.1535, allocations: 171.4 kB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.1535, allocations: 0 / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.1535, allocations: 3.938 kB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.903e-05/0.1536, allocations: 0 / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1539, allocations: 43.89 kB / 0.6816 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.009e-05/0.1539, allocations: 11.98 kB / 0.6816 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.154, allocations: 4 kB / 0.6816 GB, free: 7.395 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.027e-05/0.154, allocations: 7.938 kB / 0.6817 GB, free: 7.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.1541, allocations: 11.97 kB / 0.6817 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1541, allocations: 0 / 0.6817 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.1542, allocations: 35.97 kB / 0.6817 GB, free: 7.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.1542, allocations: 4 kB / 0.6817 GB, free: 7.336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.1543, allocations: 15.86 kB / 0.6817 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.578e-05/0.1544, allocations: 31.89 kB / 0.6817 GB, free: 7.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1544, allocations: 0 / 0.6817 GB, free: 7.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1544, allocations: 0 / 0.6817 GB, free: 7.289 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1544, allocations: 0 / 0.6817 GB, free: 7.289 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003488/0.1547, allocations: 327.9 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1548, allocations: 8.031 kB / 0.6821 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1548, allocations: 12.94 kB / 0.6821 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.1549, allocations: 168.3 kB / 0.6822 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.1549, allocations: 384 / 0.6822 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.155, allocations: 4.375 kB / 0.6822 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1551, allocations: 42.25 kB / 0.6823 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1551, allocations: 192 / 0.6823 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1551, allocations: 3.938 kB / 0.6823 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.1551, allocations: 0 / 0.6823 GB, free: 6.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.035e-05/0.1552, allocations: 23.91 kB / 0.6823 GB, free: 6.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.1554, allocations: 165.6 kB / 0.6825 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.693e-05/0.1554, allocations: 42.62 kB / 0.6825 GB, free: 6.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.1555, allocations: 16.98 kB / 0.6825 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.295e-05/0.1556, allocations: 89.09 kB / 0.6826 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1556, allocations: 30.56 kB / 0.6826 GB, free: 6.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1556, allocations: 0 / 0.6826 GB, free: 6.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001191/0.1568, allocations: 0.4885 MB / 0.6831 GB, free: 5.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1569, allocations: 51.41 kB / 0.6832 GB, free: 5.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.342e-05/0.1569, allocations: 93.86 kB / 0.6833 GB, free: 5.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.1569, allocations: 25.7 kB / 0.6833 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.157, allocations: 80.14 kB / 0.6834 GB, free: 5.352 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.157, allocations: 27.64 kB / 0.6834 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.1571, allocations: 17.72 kB / 0.6834 GB, free: 5.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1572, allocations: 326.9 kB / 0.6837 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.1572, allocations: 8 kB / 0.6837 GB, free: 4.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.1572, allocations: 19.92 kB / 0.6837 GB, free: 4.945 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.748e-05/0.1573, allocations: 32.86 kB / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1573, allocations: 0 / 0.6838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001068/0.1574, allocations: 77.61 kB / 0.6838 GB, free: 4.828 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1575, allocations: 7.938 kB / 0.6839 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1575, allocations: 0 / 0.6839 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1575, allocations: 0 / 0.6839 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.1576, allocations: 19.98 kB / 0.6839 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1576, allocations: 0 / 0.6839 GB, free: 4.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.1576, allocations: 4 kB / 0.6839 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1576, allocations: 0 / 0.6839 GB, free: 4.797 MB / 494.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 (8): * Single equations (assignments): 8 * 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 7.887e-05/0.1577, allocations: 113.8 kB / 0.684 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.1577, allocations: 7.844 kB / 0.684 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001606/0.1579, allocations: 89.56 kB / 0.6841 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1579, allocations: 0 / 0.6841 GB, free: 4.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1579, allocations: 4 kB / 0.6841 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1579, allocations: 0 / 0.6841 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.158, allocations: 161.7 kB / 0.6842 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.158, allocations: 192 / 0.6842 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.1581, allocations: 19.98 kB / 0.6843 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1581, allocations: 3.938 kB / 0.6843 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1582, allocations: 4 kB / 0.6843 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1582, allocations: 4.391 kB / 0.6843 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1582, allocations: 0 / 0.6843 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1583, allocations: 117 kB / 0.6844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.1584, allocations: 84.95 kB / 0.6845 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1584, allocations: 4.031 kB / 0.6845 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.1585, allocations: 4 kB / 0.6845 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.1585, allocations: 7.984 kB / 0.6845 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1585, allocations: 0 / 0.6845 GB, free: 4.078 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.981e-05/0.1585, allocations: 79.28 kB / 0.6845 GB, free: 4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 0.6845 GB, free: 4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002261/0.1588, allocations: 32.16 kB / 0.6846 GB, free: 3.969 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0001977/0.159, allocations: 131.2 kB / 0.6847 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.1591, allocations: 43.92 kB / 0.6847 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1591, allocations: 0 / 0.6847 GB, free: 3.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.1591, allocations: 23.92 kB / 0.6848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001383/0.1593, allocations: 12.3 kB / 0.6848 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.1596, allocations: 167.5 kB / 0.6849 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1598, allocations: 0.6845 MB / 0.6856 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.1599, allocations: 11.44 kB / 0.6856 GB, free: 2.844 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1599, allocations: 0 / 0.6856 GB, free: 2.844 MB / 494.1 MB Notification: Performance of Templates: time 0.002169/0.162, allocations: 0.928 MB / 0.6865 GB, free: 1.922 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)