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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009601/0.0009602, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4705/0.4705, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 221.3 MB / 348.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.000831, allocations: 103.4 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.414e-05, allocations: 4 kB / 0.4897 GB, free: 5.25 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3531, allocations: 72.31 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4705, allocations: 101 MB / 0.659 GB, free: 3.305 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4708, allocations: 79.39 kB / 0.659 GB, free: 3.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005514/0.4764, allocations: 2.039 MB / 0.661 GB, free: 1.195 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4764, allocations: 0 / 0.661 GB, free: 1.195 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.4764, allocations: 4 kB / 0.661 GB, free: 1.191 MB / 474.7 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.0002922/0.4767, allocations: 342.3 kB / 0.6614 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4768, allocations: 15.98 kB / 0.6614 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.4768, allocations: 30.56 kB / 0.6614 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.4769, allocations: 7.938 kB / 0.6614 GB, free: 0.75 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.477, allocations: 163.1 kB / 0.6616 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.477, allocations: 0 / 0.6616 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.477, allocations: 9.312 kB / 0.6616 GB, free: 0.543 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.4772, allocations: 49.67 kB / 0.6616 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4772, allocations: 0 / 0.6616 GB, free: 500 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4772, allocations: 4 kB / 0.6616 GB, free: 496 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4772, allocations: 0 / 0.6616 GB, free: 496 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.4773, allocations: 19.89 kB / 0.6616 GB, free: 476 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.4774, allocations: 157.6 kB / 0.6618 GB, free: 268 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.557e-05/0.4775, allocations: 46.62 kB / 0.6618 GB, free: 212 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.4776, allocations: 16.98 kB / 0.6618 GB, free: 192 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-05/0.4777, allocations: 85.11 kB / 0.6619 GB, free: 88 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4777, allocations: 34.55 kB / 0.662 GB, free: 44 kB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.4777, allocations: 0 / 0.662 GB, free: 44 kB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.001113/0.4788, allocations: 464.9 kB / 0.6624 GB, free: 15.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.4789, allocations: 59.36 kB / 0.6625 GB, free: 15.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.479, allocations: 89 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.479, allocations: 29.83 kB / 0.6626 GB, free: 15.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.479, allocations: 80.14 kB / 0.6627 GB, free: 15.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.4791, allocations: 31.62 kB / 0.6627 GB, free: 15.21 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.4791, allocations: 0 / 0.6627 GB, free: 15.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.4792, allocations: 310.8 kB / 0.663 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.125e-05/0.4792, allocations: 12 kB / 0.663 GB, free: 14.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.157e-05/0.4792, allocations: 12 kB / 0.663 GB, free: 14.88 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.4793, allocations: 15.98 kB / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.4793, allocations: 0 / 0.663 GB, free: 14.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.4794, allocations: 73.59 kB / 0.6631 GB, free: 14.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.4794, allocations: 7.938 kB / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4794, allocations: 7.938 kB / 0.6631 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4795, allocations: 4 kB / 0.6631 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.707e-05/0.4795, allocations: 8 kB / 0.6631 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4796, allocations: 0 / 0.6631 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.634e-05/0.4796, allocations: 11.94 kB / 0.6631 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4796, allocations: 0 / 0.6631 GB, free: 14.74 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.981e-05/0.4797, allocations: 110 kB / 0.6632 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-06/0.4797, allocations: 4 kB / 0.6632 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.4799, allocations: 85.3 kB / 0.6633 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.4799, allocations: 0 / 0.6633 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4799, allocations: 0 / 0.6633 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.4799, allocations: 0 / 0.6633 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.48, allocations: 169.6 kB / 0.6635 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.48, allocations: 3.984 kB / 0.6635 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.817e-05/0.4801, allocations: 12 kB / 0.6635 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4801, allocations: 0 / 0.6635 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.4801, allocations: 4 kB / 0.6635 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4801, allocations: 6.25 kB / 0.6635 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4801, allocations: 0 / 0.6635 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.4803, allocations: 120.9 kB / 0.6636 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.4803, allocations: 77.11 kB / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.4804, allocations: 4 kB / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.4804, allocations: 0 / 0.6637 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.4804, allocations: 7.984 kB / 0.6637 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.4805, allocations: 8.062 kB / 0.6637 GB, free: 14.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.863e-05/0.4805, allocations: 75.28 kB / 0.6638 GB, free: 13.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4805, allocations: 0 / 0.6638 GB, free: 13.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002131/0.4807, allocations: 43.94 kB / 0.6638 GB, free: 13.93 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005265/0.4812, allocations: 0.6905 MB / 0.6645 GB, free: 13.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.85e-05/0.4814, allocations: 43.98 kB / 0.6645 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4814, allocations: 0 / 0.6645 GB, free: 13.17 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.4814, allocations: 27.92 kB / 0.6646 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.982e-05/0.4815, allocations: 2.625 kB / 0.6646 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.4819, allocations: 166.2 kB / 0.6647 GB, free: 12.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.4822, allocations: 0.6809 MB / 0.6654 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.4822, allocations: 8.188 kB / 0.6654 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/0.4822, allocations: 16.73 kB / 0.6654 GB, free: 12.21 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4822, allocations: 0 / 0.6654 GB, free: 12.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.4943, allocations: 1.49 MB / 0.6669 GB, free: 10.91 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.4946, allocations: 173.4 kB / 0.667 GB, free: 10.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.375/1.87, allocations: 0 / 0.667 GB, free: 10.69 MB / 490.7 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/linux/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)