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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 119.9 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8467/0.8467, allocations: 129.2 MB / 432.5 MB, free: 13.16 MB / 350.1 MB " [Timeout remaining time 179] 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 71.83 kB / 0.5987 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3925, allocations: 83.44 MB / 0.6802 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00162/0.3941, allocations: 0.5932 MB / 0.6808 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3953, allocations: 1.119 MB / 0.6819 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.3953, allocations: 0 / 0.6819 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.3953, allocations: 0 / 0.6819 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.3955, allocations: 23.69 kB / 0.6819 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.007e-06/0.3955, allocations: 0 / 0.6819 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.01e-05/0.3956, allocations: 6.406 kB / 0.6819 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.811e-05/0.3956, allocations: 5.406 kB / 0.6819 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.348e-05/0.3956, allocations: 0 / 0.6819 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.3957, allocations: 2.406 kB / 0.6819 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-06/0.3957, allocations: 0 / 0.6819 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3958, allocations: 27.59 kB / 0.6819 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.504e-06/0.3958, allocations: 5.344 kB / 0.682 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.292e-05/0.3958, allocations: 0 / 0.682 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.853e-05/0.3959, allocations: 13.36 kB / 0.682 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3959, allocations: 0 / 0.682 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3959, allocations: 1 kB / 0.682 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.3959, allocations: 0 / 0.682 GB, free: 4.598 MB / 0.4981 GB 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.0002311/0.3961, allocations: 323.6 kB / 0.6823 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3961, allocations: 13.34 kB / 0.6823 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.3962, allocations: 30.75 kB / 0.6823 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.3962, allocations: 2.031 kB / 0.6823 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.844e-05/0.3963, allocations: 169.7 kB / 0.6825 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3963, allocations: 4.375 kB / 0.6825 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.3963, allocations: 5.75 kB / 0.6825 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.276e-05/0.3964, allocations: 33.77 kB / 0.6825 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3964, allocations: 5.391 kB / 0.6825 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3964, allocations: 4 kB / 0.6825 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3964, allocations: 0 / 0.6825 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.575e-05/0.3965, allocations: 11.69 kB / 0.6825 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3966, allocations: 152.5 kB / 0.6827 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.3967, allocations: 29.7 kB / 0.6827 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.731e-05/0.3968, allocations: 11.91 kB / 0.6827 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.3969, allocations: 80.77 kB / 0.6828 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3969, allocations: 43.78 kB / 0.6828 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3969, allocations: 0 / 0.6828 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004415/0.4013, allocations: 0.5722 MB / 0.6834 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.4014, allocations: 52.47 kB / 0.6835 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.4014, allocations: 89.86 kB / 0.6835 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.4014, allocations: 27.14 kB / 0.6836 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.705e-05/0.4014, allocations: 84.14 kB / 0.6836 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.4015, allocations: 14.42 kB / 0.6837 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.035e-05/0.4016, allocations: 17.31 kB / 0.6837 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.4016, allocations: 320.4 kB / 0.684 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/0.4022, allocations: 86.61 kB / 0.6841 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.4029, allocations: 99.7 kB / 0.6842 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.404, allocations: 187 kB / 0.6843 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.404, allocations: 1.5 kB / 0.6843 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001194/0.4052, allocations: 225.7 kB / 0.6846 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4052, allocations: 5.219 kB / 0.6846 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.4052, allocations: 5.453 kB / 0.6846 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4053, allocations: 5.281 kB / 0.6846 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.4057, allocations: 48.81 kB / 0.6846 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.4057, allocations: 1.562 kB / 0.6846 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.406, allocations: 38.73 kB / 0.6847 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.406, allocations: 6.344 kB / 0.6847 GB, free: 2.488 MB / 0.4981 GB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.4061, allocations: 116.2 kB / 0.6848 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.4061, allocations: 5.281 kB / 0.6848 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.4074, allocations: 238.1 kB / 0.685 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.4075, allocations: 0.9375 kB / 0.685 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4075, allocations: 3.938 kB / 0.685 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4075, allocations: 0.9375 kB / 0.685 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.4089, allocations: 450.9 kB / 0.6854 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4089, allocations: 4.062 kB / 0.6854 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.4092, allocations: 53.09 kB / 0.6855 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4092, allocations: 1.531 kB / 0.6855 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4092, allocations: 4 kB / 0.6855 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4092, allocations: 1.219 kB / 0.6855 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4092, allocations: 0 / 0.6855 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4104, allocations: 306.8 kB / 0.6858 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.4104, allocations: 81.06 kB / 0.6859 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.4105, allocations: 1.094 kB / 0.6859 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.4108, allocations: 42.53 kB / 0.6859 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.4108, allocations: 1.438 kB / 0.6859 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.4108, allocations: 6.75 kB / 0.6859 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.359e-05/0.4108, allocations: 75.28 kB / 0.686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5e-08/0.4108, allocations: 0 / 0.686 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002499/0.4111, allocations: 16.97 kB / 0.686 GB, free: 1.492 MB / 0.4981 GB 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 () * Number of clocked 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 (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.001411/0.4125, allocations: 0.8422 MB / 0.6868 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.4137, allocations: 176.2 kB / 0.687 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4137, allocations: 0 / 0.687 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.4143, allocations: 95.25 kB / 0.6871 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4145, allocations: 2.312 kB / 0.6871 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4158, allocations: 246.6 kB / 0.6873 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.416, allocations: 0.6812 MB / 0.688 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.4162, allocations: 24.5 kB / 0.688 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.875e-05/0.4162, allocations: 9.75 kB / 0.688 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.4162, allocations: 5.062 kB / 0.688 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02271/0.4389, allocations: 1.66 MB / 0.6897 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.461, allocations: 3.562 kB / 0.6897 GB, free: 14.89 MB / 0.5137 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.842393198981881] Failed to read output from testmodel.py, exit status != 0: 8.530714138876647 8.55667242 8.1565952 Calling exit ...