Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001621/0.001621, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5113/0.5113, allocations: 90.91 MB / 99.34 MB, free: 2.23 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009725/0.0009725, allocations: 95.83 kB / 415.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.37e-05, allocations: 8 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 72.32 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.6471, allocations: 100.7 MB / 0.652 GB, free: 9.328 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.6474, allocations: 78.08 kB / 0.652 GB, free: 9.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002358/0.6498, allocations: 0.8801 MB / 0.6529 GB, free: 8.531 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6498, allocations: 0 / 0.6529 GB, free: 8.531 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.6498, allocations: 0 / 0.6529 GB, free: 8.531 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002656/0.6501, allocations: 318.5 kB / 0.6532 GB, free: 8.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6501, allocations: 8.031 kB / 0.6532 GB, free: 8.172 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.6502, allocations: 15.8 kB / 0.6532 GB, free: 8.156 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.6503, allocations: 163 kB / 0.6534 GB, free: 7.957 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.6503, allocations: 0 / 0.6534 GB, free: 7.957 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.6504, allocations: 3.938 kB / 0.6534 GB, free: 7.953 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.657e-05/0.6504, allocations: 4 kB / 0.6534 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.398e-05/0.6505, allocations: 37.69 kB / 0.6534 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.6505, allocations: 0 / 0.6534 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.6505, allocations: 0 / 0.6534 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.6505, allocations: 7.938 kB / 0.6534 GB, free: 7.898 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.6507, allocations: 132.5 kB / 0.6535 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.6509, allocations: 34.23 kB / 0.6536 GB, free: 7.699 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.6509, allocations: 4.859 kB / 0.6536 GB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.651, allocations: 93.12 kB / 0.6537 GB, free: 7.582 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.6511, allocations: 34.56 kB / 0.6537 GB, free: 7.539 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.6511, allocations: 0 / 0.6537 GB, free: 7.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.002554/0.6536, allocations: 348.6 kB / 0.654 GB, free: 7.199 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.6537, allocations: 55.34 kB / 0.6541 GB, free: 7.133 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.301e-05/0.6537, allocations: 89 kB / 0.6542 GB, free: 7.039 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.6538, allocations: 25.7 kB / 0.6542 GB, free: 7.008 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.6538, allocations: 80.14 kB / 0.6543 GB, free: 6.926 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.6538, allocations: 15.69 kB / 0.6543 GB, free: 6.914 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.1e-05/0.6539, allocations: 0 / 0.6543 GB, free: 6.914 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.654, allocations: 314.8 kB / 0.6546 GB, free: 6.598 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.204e-05/0.654, allocations: 11.23 kB / 0.6546 GB, free: 6.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.681e-05/0.6541, allocations: 28.95 kB / 0.6546 GB, free: 6.555 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.872e-05/0.6542, allocations: 19.8 kB / 0.6546 GB, free: 6.539 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.6542, allocations: 0 / 0.6546 GB, free: 6.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.6544, allocations: 69.2 kB / 0.6547 GB, free: 6.469 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6544, allocations: 4 kB / 0.6547 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6544, allocations: 0 / 0.6547 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.6544, allocations: 4 kB / 0.6547 GB, free: 6.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.6548, allocations: 48.06 kB / 0.6548 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.6548, allocations: 3.984 kB / 0.6548 GB, free: 6.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.6552, allocations: 39.98 kB / 0.6548 GB, free: 6.371 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.6552, allocations: 7.938 kB / 0.6548 GB, free: 6.363 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001022/0.6553, allocations: 116.8 kB / 0.6549 GB, free: 6.242 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001609/0.6555, allocations: 57.11 kB / 0.655 GB, free: 6.184 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.6555, allocations: 7.375 kB / 0.655 GB, free: 6.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.6558, allocations: 88.98 kB / 0.6551 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6558, allocations: 0 / 0.6551 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6558, allocations: 0 / 0.6551 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.6558, allocations: 0 / 0.6551 GB, free: 6.094 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.6563, allocations: 296.6 kB / 0.6554 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6563, allocations: 0 / 0.6554 GB, free: 5.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.6567, allocations: 47.97 kB / 0.6554 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6567, allocations: 4 kB / 0.6554 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6567, allocations: 0 / 0.6554 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6567, allocations: 0 / 0.6554 GB, free: 5.719 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.6567, allocations: 3.984 kB / 0.6554 GB, free: 5.715 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.657, allocations: 166 kB / 0.6556 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.657, allocations: 77.11 kB / 0.6556 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.657, allocations: 0 / 0.6556 GB, free: 5.449 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.6574, allocations: 39.98 kB / 0.6557 GB, free: 5.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.6574, allocations: 3.984 kB / 0.6557 GB, free: 5.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.6575, allocations: 11.31 kB / 0.6557 GB, free: 5.398 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.882e-05/0.6575, allocations: 79.23 kB / 0.6558 GB, free: 5.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6575, allocations: 0 / 0.6558 GB, free: 5.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.6577, allocations: 12 kB / 0.6558 GB, free: 5.309 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0005639/0.6583, allocations: 0.692 MB / 0.6565 GB, free: 4.598 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.6584, allocations: 23.62 kB / 0.6565 GB, free: 4.578 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6584, allocations: 0 / 0.6565 GB, free: 4.578 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.6585, allocations: 19.36 kB / 0.6565 GB, free: 4.562 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.6586, allocations: 0 / 0.6565 GB, free: 4.562 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.6593, allocations: 133.1 kB / 0.6566 GB, free: 4.398 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.6596, allocations: 0.6768 MB / 0.6573 GB, free: 3.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002181/0.6598, allocations: 32 kB / 0.6573 GB, free: 3.664 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.179e-05/0.6599, allocations: 14.86 kB / 0.6573 GB, free: 3.652 MB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6599, allocations: 0 / 0.6573 GB, free: 3.652 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.6822, allocations: 1.126 MB / 0.6584 GB, free: 2.535 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/0.6826, allocations: 166.2 kB / 0.6586 GB, free: 2.34 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.174, allocations: 4.031 kB / 0.6586 GB, free: 2.336 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)