Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) 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: 110.2 kB / 16.41 MB, free: 6.492 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.001318/0.001318, allocations: 191.2 kB / 17.34 MB, free: 5.762 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.788/0.788, allocations: 122.9 MB / 414.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1727, allocations: 77.92 MB / 0.6441 GB, free: 9.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002632/0.1754, allocations: 0.5961 MB / 0.6447 GB, free: 8.898 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.1761, allocations: 163.8 kB / 0.6448 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.22e-05/0.1761, allocations: 0 / 0.6448 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.1762, allocations: 0 / 0.6448 GB, free: 8.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.1763, allocations: 3.938 kB / 0.6448 GB, free: 8.734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.1768, allocations: 43.89 kB / 0.6449 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.853e-05/0.1769, allocations: 12 kB / 0.6449 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.177, allocations: 7.984 kB / 0.6449 GB, free: 8.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.177, allocations: 4 kB / 0.6449 GB, free: 8.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1771, allocations: 7.938 kB / 0.6449 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.1772, allocations: 4 kB / 0.6449 GB, free: 8.656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1773, allocations: 39.94 kB / 0.645 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.235e-05/0.1774, allocations: 0 / 0.645 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.1774, allocations: 7.938 kB / 0.645 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1776, allocations: 36.16 kB / 0.645 GB, free: 8.574 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.1776, allocations: 0 / 0.645 GB, free: 8.574 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1777, allocations: 0 / 0.645 GB, free: 8.574 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1777, allocations: 4 kB / 0.645 GB, free: 8.57 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.0007138/0.1784, allocations: 335.4 kB / 0.6453 GB, free: 8.191 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.1785, allocations: 8.625 kB / 0.6453 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.1785, allocations: 30.75 kB / 0.6454 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1786, allocations: 4.938 kB / 0.6454 GB, free: 8.141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.1787, allocations: 168.3 kB / 0.6455 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.1788, allocations: 4.375 kB / 0.6455 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.1788, allocations: 4.375 kB / 0.6455 GB, free: 7.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.179, allocations: 50.23 kB / 0.6456 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.179, allocations: 3.938 kB / 0.6456 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.179, allocations: 0 / 0.6456 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.179, allocations: 0 / 0.6456 GB, free: 7.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.584e-05/0.1791, allocations: 12 kB / 0.6456 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002368/0.1793, allocations: 157.7 kB / 0.6458 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.1795, allocations: 58.48 kB / 0.6458 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.656e-05/0.1795, allocations: 24.97 kB / 0.6458 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.1797, allocations: 77.11 kB / 0.6459 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1797, allocations: 38.56 kB / 0.6459 GB, free: 7.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.1797, allocations: 0 / 0.6459 GB, free: 7.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001497/0.1812, allocations: 484 kB / 0.6464 GB, free: 6.875 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1813, allocations: 55.34 kB / 0.6465 GB, free: 6.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.1814, allocations: 97.86 kB / 0.6465 GB, free: 6.703 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1814, allocations: 29.7 kB / 0.6466 GB, free: 6.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.1815, allocations: 80.14 kB / 0.6467 GB, free: 6.586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.1815, allocations: 27.73 kB / 0.6467 GB, free: 6.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.1816, allocations: 21.72 kB / 0.6467 GB, free: 6.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1818, allocations: 310.8 kB / 0.647 GB, free: 6.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.1819, allocations: 15.98 kB / 0.647 GB, free: 6.203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.1819, allocations: 12.08 kB / 0.647 GB, free: 6.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.378e-05/0.182, allocations: 45.11 kB / 0.6471 GB, free: 6.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.182, allocations: 448 / 0.6471 GB, free: 6.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001504/0.1822, allocations: 73.61 kB / 0.6471 GB, free: 6.066 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.1822, allocations: 4 kB / 0.6471 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1822, allocations: 3.938 kB / 0.6471 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.1822, allocations: 3.938 kB / 0.6471 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1824, allocations: 19.98 kB / 0.6472 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1824, allocations: 0 / 0.6472 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.1824, allocations: 4 kB / 0.6472 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1824, allocations: 4 kB / 0.6472 GB, free: 6.027 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 0.000137/0.1826, allocations: 109.8 kB / 0.6473 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1826, allocations: 15.89 kB / 0.6473 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002202/0.1828, allocations: 77.58 kB / 0.6474 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1829, allocations: 4 kB / 0.6474 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1829, allocations: 0 / 0.6474 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1829, allocations: 0 / 0.6474 GB, free: 5.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.1831, allocations: 165.7 kB / 0.6475 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1831, allocations: 0 / 0.6475 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.696e-05/0.1832, allocations: 15.94 kB / 0.6475 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1832, allocations: 7.938 kB / 0.6476 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.1832, allocations: 0 / 0.6476 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.1832, allocations: 0 / 0.6476 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1832, allocations: 3.984 kB / 0.6476 GB, free: 5.566 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1835, allocations: 117 kB / 0.6477 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.1836, allocations: 88.98 kB / 0.6478 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1836, allocations: 0 / 0.6478 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.1837, allocations: 4.031 kB / 0.6478 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.1837, allocations: 8.062 kB / 0.6478 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.1837, allocations: 7.984 kB / 0.6478 GB, free: 5.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.191e-05/0.1838, allocations: 75.28 kB / 0.6478 GB, free: 5.234 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1838, allocations: 0 / 0.6478 GB, free: 5.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.184, allocations: 27.94 kB / 0.6479 GB, free: 5.207 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.0005858/0.1846, allocations: 0.6866 MB / 0.6485 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001286/0.1848, allocations: 36.3 kB / 0.6486 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1848, allocations: 0 / 0.6486 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.1848, allocations: 28.08 kB / 0.6486 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.185, allocations: 4.562 kB / 0.6486 GB, free: 4.426 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.1862, allocations: 1.204 MB / 0.6498 GB, free: 3.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1865, allocations: 0.6807 MB / 0.6504 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.647e-05/0.1865, allocations: 8.062 kB / 0.6505 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.866e-05/0.1866, allocations: 15.52 kB / 0.6505 GB, free: 2.41 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1866, allocations: 3.938 kB / 0.6505 GB, free: 2.406 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.2051, allocations: 1.808 MB / 0.6522 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.631, allocations: 10.44 kB / 0.6523 GB, free: 0.7305 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)