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.001096/0.001096, allocations: 105.3 kB / 16.4 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.001151/0.001151, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7049/0.7049, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 72.36 kB / 0.5572 GB, free: 32.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1501, allocations: 76.17 MB / 0.6316 GB, free: 4.977 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001737/0.1519, allocations: 0.5845 MB / 0.6322 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003982/0.1523, allocations: 159.8 kB / 0.6324 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.1524, allocations: 3.938 kB / 0.6324 GB, free: 4.234 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1524, allocations: 3.938 kB / 0.6324 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.053e-05/0.1525, allocations: 0 / 0.6324 GB, free: 4.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1528, allocations: 47.89 kB / 0.6324 GB, free: 4.184 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.709e-05/0.1528, allocations: 12 kB / 0.6324 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.1529, allocations: 0 / 0.6324 GB, free: 4.172 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.083e-05/0.1529, allocations: 7.984 kB / 0.6324 GB, free: 4.164 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.153, allocations: 15.92 kB / 0.6324 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.153, allocations: 0 / 0.6324 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.091e-05/0.1531, allocations: 31.97 kB / 0.6325 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.1531, allocations: 3.984 kB / 0.6325 GB, free: 4.113 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.1532, allocations: 7.938 kB / 0.6325 GB, free: 4.105 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.1533, allocations: 31.95 kB / 0.6325 GB, free: 4.074 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1533, allocations: 4 kB / 0.6325 GB, free: 4.07 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1533, allocations: 0 / 0.6325 GB, free: 4.07 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.1533, allocations: 0 / 0.6325 GB, free: 4.07 MB / 478.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.0003923/0.1537, allocations: 335.5 kB / 0.6328 GB, free: 3.691 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1537, allocations: 8.031 kB / 0.6328 GB, free: 3.684 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.061e-05/0.1538, allocations: 34.75 kB / 0.6329 GB, free: 3.641 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.1538, allocations: 4.844 kB / 0.6329 GB, free: 3.637 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.1539, allocations: 167.1 kB / 0.633 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1539, allocations: 4.375 kB / 0.633 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.154, allocations: 12.36 kB / 0.6331 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.1541, allocations: 42.25 kB / 0.6331 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1541, allocations: 3.938 kB / 0.6331 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1541, allocations: 0 / 0.6331 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-06/0.1541, allocations: 0 / 0.6331 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.1542, allocations: 19.92 kB / 0.6331 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00017/0.1544, allocations: 157.7 kB / 0.6333 GB, free: 3.148 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.804e-05/0.1544, allocations: 42.62 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.873e-05/0.1545, allocations: 24.97 kB / 0.6333 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.1546, allocations: 81.11 kB / 0.6334 GB, free: 2.973 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1546, allocations: 30.56 kB / 0.6334 GB, free: 2.934 MB / 478.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1546, allocations: 0 / 0.6334 GB, free: 2.934 MB / 478.1 MB Notification: Performance of matching and sorting (n=7): time 0.001343/0.156, allocations: 0.4929 MB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.156, allocations: 51.41 kB / 0.634 GB, free: 2.305 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.543e-05/0.1561, allocations: 97.86 kB / 0.6341 GB, free: 2.199 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1561, allocations: 29.7 kB / 0.6341 GB, free: 2.164 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.879e-05/0.1562, allocations: 80.14 kB / 0.6342 GB, free: 2.082 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1562, allocations: 23.94 kB / 0.6342 GB, free: 2.059 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.1563, allocations: 21.7 kB / 0.6342 GB, free: 2.031 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1564, allocations: 310.8 kB / 0.6345 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.1564, allocations: 15.98 kB / 0.6345 GB, free: 1.703 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.435e-05/0.1564, allocations: 12 kB / 0.6345 GB, free: 1.691 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.703e-05/0.1565, allocations: 44.97 kB / 0.6346 GB, free: 1.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1565, allocations: 0 / 0.6346 GB, free: 1.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001192/0.1566, allocations: 77.45 kB / 0.6347 GB, free: 1.562 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1567, allocations: 5.875 kB / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1567, allocations: 0 / 0.6347 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1567, allocations: 4 kB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.1568, allocations: 8 kB / 0.6347 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1568, allocations: 0 / 0.6347 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.546e-05/0.1568, allocations: 8 kB / 0.6347 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1568, allocations: 3.984 kB / 0.6347 GB, free: 1.535 MB / 478.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 6.992e-05/0.1569, allocations: 117.8 kB / 0.6348 GB, free: 1.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.1569, allocations: 3.938 kB / 0.6348 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.1571, allocations: 85.58 kB / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.1571, allocations: 0 / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1571, allocations: 0 / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1572, allocations: 0 / 0.6349 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.1573, allocations: 169.6 kB / 0.635 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1573, allocations: 192 / 0.635 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.1574, allocations: 23.94 kB / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1574, allocations: 0 / 0.6351 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1574, allocations: 4 kB / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1574, allocations: 0 / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1574, allocations: 0 / 0.6351 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.1576, allocations: 117 kB / 0.6352 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1577, allocations: 81.08 kB / 0.6353 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.1577, allocations: 7.984 kB / 0.6353 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.408e-05/0.1577, allocations: 4.062 kB / 0.6353 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1578, allocations: 7.984 kB / 0.6353 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-06/0.1578, allocations: 4 kB / 0.6353 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.349e-05/0.1578, allocations: 83.22 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1578, allocations: 0 / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.158, allocations: 27.98 kB / 0.6354 GB, free: 0.7031 MB / 478.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.0005719/0.1586, allocations: 0.6911 MB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.1587, allocations: 31.94 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1588, allocations: 0 / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.1588, allocations: 19.94 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.159, allocations: 11.98 kB / 0.6361 GB, free: 15.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1602, allocations: 1.196 MB / 0.6373 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1606, allocations: 0.6807 MB / 0.638 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.828e-05/0.1606, allocations: 8.062 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.1607, allocations: 15.44 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1607, allocations: 3.938 kB / 0.638 GB, free: 13.91 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.1852, allocations: 1.837 MB / 0.6398 GB, free: 12.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.749, allocations: 4 kB / 0.6398 GB, free: 12.21 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 & /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)