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.001317/0.001317, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.00144/0.00144, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 297 kB / 291.4 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.9274/0.9274, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 93.72 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1505, allocations: 86.97 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001721/0.1523, allocations: 0.5914 MB / 0.6822 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003716/0.1527, allocations: 167.5 kB / 0.6823 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.1527, allocations: 0 / 0.6823 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1527, allocations: 0 / 0.6823 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.745e-05/0.1528, allocations: 4 kB / 0.6824 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1531, allocations: 43.83 kB / 0.6824 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.1531, allocations: 12 kB / 0.6824 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.1532, allocations: 3.984 kB / 0.6824 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.1532, allocations: 7.938 kB / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.1533, allocations: 11.98 kB / 0.6824 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1533, allocations: 4 kB / 0.6824 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.1534, allocations: 35.95 kB / 0.6825 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.39e-05/0.1534, allocations: 0 / 0.6825 GB, free: 6.551 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.1534, allocations: 7.938 kB / 0.6825 GB, free: 6.543 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1535, allocations: 35.88 kB / 0.6825 GB, free: 6.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1535, allocations: 0 / 0.6825 GB, free: 6.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1535, allocations: 4 kB / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1536, allocations: 0 / 0.6825 GB, free: 6.504 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.0003453/0.1539, allocations: 327.6 kB / 0.6828 GB, free: 6.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.1539, allocations: 12.03 kB / 0.6828 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.154, allocations: 4.938 kB / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.803e-05/0.1541, allocations: 164.3 kB / 0.683 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1541, allocations: 8.312 kB / 0.683 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1541, allocations: 384 / 0.683 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.1542, allocations: 50.19 kB / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1542, allocations: 192 / 0.6831 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.537e-06/0.1543, allocations: 3.938 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1543, allocations: 0 / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.153e-05/0.1543, allocations: 11.98 kB / 0.6831 GB, free: 5.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1545, allocations: 173.6 kB / 0.6832 GB, free: 5.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.953e-05/0.1546, allocations: 42.56 kB / 0.6833 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.1546, allocations: 20.97 kB / 0.6833 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.793e-05/0.1547, allocations: 81.11 kB / 0.6834 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1547, allocations: 34.5 kB / 0.6834 GB, free: 5.406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.1547, allocations: 0 / 0.6834 GB, free: 5.406 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00118/0.1559, allocations: 492 kB / 0.6839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.156, allocations: 55.41 kB / 0.6839 GB, free: 4.785 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.813e-05/0.156, allocations: 89.86 kB / 0.684 GB, free: 4.688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.156, allocations: 25.7 kB / 0.684 GB, free: 4.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.115e-05/0.1561, allocations: 84.14 kB / 0.6841 GB, free: 4.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1561, allocations: 19.66 kB / 0.6841 GB, free: 4.551 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.1561, allocations: 25.83 kB / 0.6842 GB, free: 4.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.1562, allocations: 318.8 kB / 0.6845 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.1563, allocations: 11.98 kB / 0.6845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.1563, allocations: 16.06 kB / 0.6845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.466e-05/0.1564, allocations: 44.72 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1564, allocations: 0 / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001032/0.1565, allocations: 70.11 kB / 0.6846 GB, free: 4.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1565, allocations: 10.12 kB / 0.6846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1565, allocations: 4 kB / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.1566, allocations: 0 / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.1566, allocations: 16 kB / 0.6846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1566, allocations: 4 kB / 0.6846 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.1567, allocations: 0 / 0.6846 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1567, allocations: 3.984 kB / 0.6846 GB, free: 4.016 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.167e-05/0.1568, allocations: 117.8 kB / 0.6847 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.1568, allocations: 7.844 kB / 0.6848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.1569, allocations: 81.64 kB / 0.6848 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1569, allocations: 3.984 kB / 0.6848 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.157, allocations: 4 kB / 0.6848 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.157, allocations: 0 / 0.6848 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.1571, allocations: 165.6 kB / 0.685 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1571, allocations: 0 / 0.685 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.1572, allocations: 19.94 kB / 0.685 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1572, allocations: 3.938 kB / 0.685 GB, free: 3.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1572, allocations: 4 kB / 0.685 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1572, allocations: 0 / 0.685 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1572, allocations: 3.938 kB / 0.685 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1574, allocations: 109.1 kB / 0.6851 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.1574, allocations: 88.98 kB / 0.6852 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1575, allocations: 7.984 kB / 0.6852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.1575, allocations: 0 / 0.6852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.519e-05/0.1575, allocations: 4 kB / 0.6852 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.1575, allocations: 4 kB / 0.6852 GB, free: 3.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.1576, allocations: 75.28 kB / 0.6853 GB, free: 3.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.904e-06/0.1576, allocations: 160 / 0.6853 GB, free: 3.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00023/0.1578, allocations: 43.92 kB / 0.6853 GB, free: 3.18 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.0001952/0.158, allocations: 135.2 kB / 0.6855 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.1581, allocations: 31.98 kB / 0.6855 GB, free: 3.008 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1581, allocations: 3.938 kB / 0.6855 GB, free: 3.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.311e-05/0.1582, allocations: 20.48 kB / 0.6855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1583, allocations: 12.95 kB / 0.6855 GB, free: 2.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/0.1586, allocations: 137.8 kB / 0.6857 GB, free: 2.812 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1588, allocations: 0.6807 MB / 0.6863 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.465e-05/0.1589, allocations: 16.06 kB / 0.6864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.959e-05/0.1589, allocations: 11.44 kB / 0.6864 GB, free: 2.082 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1589, allocations: 0 / 0.6864 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Templates: time 0.00297/0.1619, allocations: 0.8798 MB / 0.6872 GB, free: 1.238 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)