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.001112/0.001112, allocations: 179 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.5098/0.5098, allocations: 90.8 MB / 104.5 MB, free: 13.91 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.387/1.387, allocations: 221.3 MB / 348.3 MB, free: 12.56 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.0009113/0.0009113, allocations: 83.95 kB / 421.1 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.557e-05, allocations: 4 kB / 0.4897 GB, free: 46.51 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 72.31 MB / 0.5603 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.5186, allocations: 101.3 MB / 0.6593 GB, free: 6.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.5188, allocations: 86 kB / 0.6594 GB, free: 6.477 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002092/0.5209, allocations: 0.8817 MB / 0.6602 GB, free: 5.711 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5209, allocations: 0 / 0.6602 GB, free: 5.711 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.5209, allocations: 0 / 0.6602 GB, free: 5.711 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.000202/0.5212, allocations: 314.5 kB / 0.6605 GB, free: 5.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.5212, allocations: 11.98 kB / 0.6606 GB, free: 5.348 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.5212, allocations: 36.75 kB / 0.6606 GB, free: 5.305 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.5213, allocations: 11.95 kB / 0.6606 GB, free: 5.293 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.648e-05/0.5213, allocations: 163 kB / 0.6608 GB, free: 5.094 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.5214, allocations: 3.188 kB / 0.6608 GB, free: 5.094 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.5214, allocations: 0 / 0.6608 GB, free: 5.094 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.335e-05/0.5215, allocations: 33.69 kB / 0.6608 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5215, allocations: 0 / 0.6608 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.5215, allocations: 7.875 kB / 0.6608 GB, free: 5.051 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.5215, allocations: 0 / 0.6608 GB, free: 5.051 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.062e-05/0.5215, allocations: 10.69 kB / 0.6608 GB, free: 5.043 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.5217, allocations: 157.4 kB / 0.661 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5218, allocations: 30.52 kB / 0.661 GB, free: 4.805 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.5219, allocations: 8.672 kB / 0.661 GB, free: 4.797 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.522, allocations: 85.23 kB / 0.6611 GB, free: 4.695 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.522, allocations: 34.56 kB / 0.6611 GB, free: 4.652 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.522, allocations: 0 / 0.6611 GB, free: 4.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=5): time 0.002295/0.5243, allocations: 351.3 kB / 0.6614 GB, free: 4.312 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.5244, allocations: 55.36 kB / 0.6615 GB, free: 4.246 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.197e-05/0.5244, allocations: 85 kB / 0.6616 GB, free: 4.156 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.5244, allocations: 25.7 kB / 0.6616 GB, free: 4.125 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.154e-05/0.5245, allocations: 80.14 kB / 0.6617 GB, free: 4.043 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.5245, allocations: 19.09 kB / 0.6617 GB, free: 4.027 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.5245, allocations: 0 / 0.6617 GB, free: 4.027 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.212e-05/0.5246, allocations: 314.8 kB / 0.662 GB, free: 3.711 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.5247, allocations: 11.25 kB / 0.662 GB, free: 3.703 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.03e-05/0.5247, allocations: 37.8 kB / 0.662 GB, free: 3.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.249e-05/0.5248, allocations: 4 kB / 0.662 GB, free: 3.656 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5248, allocations: 4 kB / 0.6621 GB, free: 3.652 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001428/0.5249, allocations: 61.06 kB / 0.6621 GB, free: 3.59 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.5249, allocations: 7.984 kB / 0.6621 GB, free: 3.582 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.525, allocations: 4 kB / 0.6621 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.525, allocations: 0 / 0.6621 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.5253, allocations: 52.25 kB / 0.6622 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.5254, allocations: 7.938 kB / 0.6622 GB, free: 3.523 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.5257, allocations: 39.92 kB / 0.6622 GB, free: 3.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.5257, allocations: 7.953 kB / 0.6622 GB, free: 3.477 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 6.775e-05/0.5258, allocations: 104.9 kB / 0.6623 GB, free: 3.367 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.5258, allocations: 4 kB / 0.6623 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.5261, allocations: 95.44 kB / 0.6624 GB, free: 3.273 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5261, allocations: 4 kB / 0.6624 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.5261, allocations: 0 / 0.6624 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5261, allocations: 0 / 0.6624 GB, free: 3.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.5265, allocations: 312.9 kB / 0.6627 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5265, allocations: 0 / 0.6627 GB, free: 2.918 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.5269, allocations: 47.97 kB / 0.6628 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.5269, allocations: 0 / 0.6628 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5269, allocations: 3.375 kB / 0.6628 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5269, allocations: 0 / 0.6628 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5269, allocations: 7.953 kB / 0.6628 GB, free: 2.863 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.5271, allocations: 153 kB / 0.6629 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.896e-05/0.5271, allocations: 81.09 kB / 0.663 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.5272, allocations: 3.125 kB / 0.663 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.5275, allocations: 39.98 kB / 0.663 GB, free: 2.566 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.22e-05/0.5275, allocations: 7.922 kB / 0.663 GB, free: 2.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.5276, allocations: 7.953 kB / 0.6631 GB, free: 2.551 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.737e-05/0.5276, allocations: 75.28 kB / 0.6631 GB, free: 2.477 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5276, allocations: 0 / 0.6631 GB, free: 2.477 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.5278, allocations: 12 kB / 0.6631 GB, free: 2.465 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.000472/0.5283, allocations: 0.6887 MB / 0.6638 GB, free: 1.758 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.5284, allocations: 30 kB / 0.6638 GB, free: 1.734 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5285, allocations: 0 / 0.6638 GB, free: 1.734 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.959e-05/0.5285, allocations: 19.73 kB / 0.6639 GB, free: 1.719 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001085/0.5286, allocations: 4 kB / 0.6639 GB, free: 1.715 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006387/0.5293, allocations: 141.6 kB / 0.664 GB, free: 1.547 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.5295, allocations: 0.6819 MB / 0.6647 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002103/0.5297, allocations: 28 kB / 0.6647 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.5298, allocations: 15.42 kB / 0.6647 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5298, allocations: 0 / 0.6647 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01065/0.5405, allocations: 1.428 MB / 0.6661 GB, free: 15.53 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.5406, allocations: 169.7 kB / 0.6663 GB, free: 15.31 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/1.958, allocations: 0 / 0.6663 GB, free: 15.31 MB / 474.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)