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.002197/0.002197, allocations: 181.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6628/0.6628, allocations: 91.98 MB / 108.5 MB, free: 13.07 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.688/1.688, allocations: 223.1 MB / 354.3 MB, free: 12.17 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.001059/0.001059, allocations: 108.2 kB / 427.4 MB, free: 3.906 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004631, allocations: 19.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1586, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5528/0.7115, allocations: 101.1 MB / 0.6676 GB, free: 3.262 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.7118, allocations: 75.95 kB / 0.6677 GB, free: 3.188 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006071/0.7179, allocations: 2.045 MB / 0.6697 GB, free: 1.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.397e-06/0.7179, allocations: 4 kB / 0.6697 GB, free: 1.156 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.7179, allocations: 4 kB / 0.6697 GB, free: 1.152 MB / 458.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.0004138/0.7184, allocations: 339.9 kB / 0.67 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.7184, allocations: 8.031 kB / 0.67 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.912e-05/0.7185, allocations: 34.56 kB / 0.6701 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.7185, allocations: 3.953 kB / 0.6701 GB, free: 0.7188 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.7187, allocations: 163.1 kB / 0.6702 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.7187, allocations: 11.94 kB / 0.6702 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.7187, allocations: 4 kB / 0.6703 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.7189, allocations: 45.62 kB / 0.6703 GB, free: 464 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7189, allocations: 3.984 kB / 0.6703 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.7189, allocations: 0 / 0.6703 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.7189, allocations: 0 / 0.6703 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.719, allocations: 19.94 kB / 0.6703 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.7192, allocations: 161.6 kB / 0.6705 GB, free: 228 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7193, allocations: 42.62 kB / 0.6705 GB, free: 176 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.7195, allocations: 85.11 kB / 0.6706 GB, free: 72 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.7195, allocations: 34.5 kB / 0.6706 GB, free: 28 kB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 1.984e-06/0.7195, allocations: 0 / 0.6706 GB, free: 28 kB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.00163/0.7212, allocations: 480.2 kB / 0.6711 GB, free: 15.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7212, allocations: 55.41 kB / 0.6711 GB, free: 15.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.7213, allocations: 92.95 kB / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.7214, allocations: 25.83 kB / 0.6713 GB, free: 15.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.7214, allocations: 84.14 kB / 0.6713 GB, free: 15.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.7215, allocations: 31.55 kB / 0.6714 GB, free: 15.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-06/0.7215, allocations: 0 / 0.6714 GB, free: 15.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7216, allocations: 310.8 kB / 0.6717 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.541e-05/0.7217, allocations: 15.98 kB / 0.6717 GB, free: 14.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.024e-05/0.7217, allocations: 12 kB / 0.6717 GB, free: 14.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.614e-05/0.7218, allocations: 15.94 kB / 0.6717 GB, free: 14.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.7218, allocations: 0 / 0.6717 GB, free: 14.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001411/0.7219, allocations: 69.67 kB / 0.6718 GB, free: 14.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7219, allocations: 17.08 kB / 0.6718 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.722, allocations: 0 / 0.6718 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.722, allocations: 0 / 0.6718 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.7221, allocations: 12 kB / 0.6718 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7221, allocations: 0 / 0.6718 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.06e-05/0.7222, allocations: 0 / 0.6718 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.7222, allocations: 11.95 kB / 0.6718 GB, free: 14.71 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.7223, allocations: 113.8 kB / 0.6719 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.7223, allocations: 4.875 kB / 0.6719 GB, free: 14.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.7225, allocations: 89.48 kB / 0.672 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.7226, allocations: 0 / 0.672 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7226, allocations: 0 / 0.672 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7226, allocations: 3.938 kB / 0.672 GB, free: 14.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001495/0.7227, allocations: 169.6 kB / 0.6722 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.7228, allocations: 4 kB / 0.6722 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.7228, allocations: 12.42 kB / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.7229, allocations: 4 kB / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.7229, allocations: 0 / 0.6722 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7229, allocations: 11.94 kB / 0.6722 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7229, allocations: 0 / 0.6722 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.7231, allocations: 113.5 kB / 0.6723 GB, free: 14.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.7232, allocations: 81.14 kB / 0.6724 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.7232, allocations: 0 / 0.6724 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.7232, allocations: 0 / 0.6724 GB, free: 14.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.7233, allocations: 7.984 kB / 0.6724 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.7233, allocations: 64 / 0.6724 GB, free: 14 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.772e-05/0.7233, allocations: 87.28 kB / 0.6725 GB, free: 13.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7233, allocations: 0 / 0.6725 GB, free: 13.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.7236, allocations: 39.92 kB / 0.6725 GB, free: 13.88 MB / 474.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 () * 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 (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.0006557/0.7243, allocations: 0.6982 MB / 0.6732 GB, free: 13.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.7244, allocations: 44.08 kB / 0.6732 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7244, allocations: 0 / 0.6732 GB, free: 13.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.544e-05/0.7245, allocations: 16 kB / 0.6733 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.7246, allocations: 14.73 kB / 0.6733 GB, free: 13.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007503/0.7254, allocations: 427.2 kB / 0.6737 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.7257, allocations: 0.6888 MB / 0.6743 GB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.178e-05/0.7257, allocations: 8.125 kB / 0.6744 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.7258, allocations: 15.44 kB / 0.6744 GB, free: 11.87 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7258, allocations: 0 / 0.6744 GB, free: 11.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.74, allocations: 1.462 MB / 0.6758 GB, free: 10.58 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.7403, allocations: 217 kB / 0.676 GB, free: 10.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/2.273, allocations: 0 / 0.676 GB, free: 10.32 MB / 474.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)