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.0008827/0.0008827, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 182 kB / 16.92 MB, free: 6.914 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6626/0.6626, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002929, allocations: 14.08 kB / 496 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 77.53 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007429/0.1611, allocations: 326.3 kB / 0.5604 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004348/0.1615, allocations: 163.5 kB / 0.5605 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.543e-05/0.1615, allocations: 4 kB / 0.5605 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.226e-05/0.1616, allocations: 0 / 0.5605 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.219e-05/0.1616, allocations: 0 / 0.5605 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1619, allocations: 24.97 kB / 0.5606 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.547e-05/0.1619, allocations: 15.92 kB / 0.5606 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.787e-05/0.162, allocations: 4 kB / 0.5606 GB, free: 8.391 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.37e-05/0.162, allocations: 7.984 kB / 0.5606 GB, free: 8.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.1621, allocations: 15.86 kB / 0.5606 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1621, allocations: 4 kB / 0.5606 GB, free: 8.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.529e-05/0.1622, allocations: 27.97 kB / 0.5606 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/0.1622, allocations: 8 kB / 0.5606 GB, free: 8.328 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.1623, allocations: 37.62 kB / 0.5607 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1624, allocations: 27.95 kB / 0.5607 GB, free: 8.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1624, allocations: 4 kB / 0.5607 GB, free: 8.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1624, allocations: 0 / 0.5607 GB, free: 8.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1624, allocations: 0 / 0.5607 GB, free: 8.254 MB / 430.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.0003326/0.1627, allocations: 321.3 kB / 0.561 GB, free: 7.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1628, allocations: 8.031 kB / 0.561 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.1628, allocations: 34.75 kB / 0.561 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.1628, allocations: 8.938 kB / 0.5611 GB, free: 7.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.163, allocations: 164.6 kB / 0.5612 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.163, allocations: 4.375 kB / 0.5612 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.163, allocations: 4.375 kB / 0.5612 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1631, allocations: 46.25 kB / 0.5613 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.1631, allocations: 3.938 kB / 0.5613 GB, free: 7.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1631, allocations: 7.922 kB / 0.5613 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1632, allocations: 0 / 0.5613 GB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.1632, allocations: 11.94 kB / 0.5613 GB, free: 7.551 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002384/0.1634, allocations: 169.7 kB / 0.5614 GB, free: 7.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1636, allocations: 46.56 kB / 0.5615 GB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.494e-05/0.1637, allocations: 20.97 kB / 0.5615 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.1638, allocations: 81.11 kB / 0.5616 GB, free: 7.16 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1638, allocations: 34.5 kB / 0.5616 GB, free: 7.117 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1638, allocations: 0 / 0.5616 GB, free: 7.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001224/0.165, allocations: 492.4 kB / 0.5621 GB, free: 6.562 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1651, allocations: 51.41 kB / 0.5621 GB, free: 6.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.243e-05/0.1652, allocations: 93.86 kB / 0.5622 GB, free: 6.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.1652, allocations: 29.7 kB / 0.5623 GB, free: 6.363 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.1652, allocations: 80.14 kB / 0.5623 GB, free: 6.281 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1653, allocations: 23.64 kB / 0.5624 GB, free: 6.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1653, allocations: 13.72 kB / 0.5624 GB, free: 6.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1654, allocations: 319 kB / 0.5627 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.1654, allocations: 11.98 kB / 0.5627 GB, free: 5.906 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.162e-05/0.1655, allocations: 15.98 kB / 0.5627 GB, free: 5.891 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.1655, allocations: 44.78 kB / 0.5627 GB, free: 5.844 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1655, allocations: 0 / 0.5627 GB, free: 5.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001056/0.1657, allocations: 69.53 kB / 0.5628 GB, free: 5.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1657, allocations: 5.875 kB / 0.5628 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1657, allocations: 4 kB / 0.5628 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1657, allocations: 4 kB / 0.5628 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.75e-05/0.1658, allocations: 16 kB / 0.5628 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1658, allocations: 4.312 kB / 0.5628 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.1658, allocations: 0 / 0.5628 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1659, allocations: 0 / 0.5628 GB, free: 5.738 MB / 430.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 8.219e-05/0.1659, allocations: 121.8 kB / 0.563 GB, free: 5.609 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.166, allocations: 7.922 kB / 0.563 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.1661, allocations: 81.62 kB / 0.563 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1661, allocations: 0 / 0.563 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1661, allocations: 4 kB / 0.563 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.1662, allocations: 0 / 0.563 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1663, allocations: 165.7 kB / 0.5632 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1663, allocations: 3.938 kB / 0.5632 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.1664, allocations: 19.92 kB / 0.5632 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1664, allocations: 3.938 kB / 0.5632 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1664, allocations: 4 kB / 0.5632 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.1664, allocations: 0 / 0.5632 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1664, allocations: 0 / 0.5632 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.1666, allocations: 117 kB / 0.5633 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.1666, allocations: 89.02 kB / 0.5634 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.1667, allocations: 3.984 kB / 0.5634 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.1667, allocations: 0 / 0.5634 GB, free: 5.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1667, allocations: 8 kB / 0.5634 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.1667, allocations: 0 / 0.5634 GB, free: 5.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.589e-05/0.1668, allocations: 79.28 kB / 0.5635 GB, free: 4.941 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1668, allocations: 0 / 0.5635 GB, free: 4.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.167, allocations: 36.14 kB / 0.5636 GB, free: 4.906 MB / 430.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.0005308/0.1676, allocations: 0.6827 MB / 0.5642 GB, free: 4.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1677, allocations: 43.91 kB / 0.5643 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1677, allocations: 0 / 0.5643 GB, free: 4.152 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.439e-05/0.1677, allocations: 20 kB / 0.5643 GB, free: 4.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.1679, allocations: 4.062 kB / 0.5643 GB, free: 4.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.1693, allocations: 1.195 MB / 0.5655 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1696, allocations: 0.6886 MB / 0.5661 GB, free: 2.141 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.1696, allocations: 4.625 kB / 0.5661 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1697, allocations: 19.42 kB / 0.5662 GB, free: 2.117 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1697, allocations: 0 / 0.5662 GB, free: 2.117 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07971/0.2494, allocations: 1.604 MB / 0.5677 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.2497, allocations: 228.3 kB / 0.5679 GB, free: 464 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.399, allocations: 0 / 0.5679 GB, free: 464 kB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)