Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008028/0.0008028, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008568/0.0008568, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8867/0.8867, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7171/0.7171, allocations: 154.6 MB / 413.8 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.51e-05, allocations: 2.281 kB / 0.6182 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00107/0.001085, allocations: 0.5952 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.002291, allocations: 1.139 MB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.002315, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.002329, allocations: 0 / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.002562, allocations: 19.92 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-06/0.002565, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.002611, allocations: 7.875 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.252e-05/0.002653, allocations: 7.984 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.456e-05/0.002678, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.002699, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.002708, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.573e-05/0.002804, allocations: 23.92 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.628e-06/0.002814, allocations: 0 / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.1e-05/0.002825, allocations: 4 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.463e-05/0.002899, allocations: 15.91 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.002901, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002902, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002906, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 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.0002179/0.003124, allocations: 246.4 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.003162, allocations: 8.031 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.003189, allocations: 30.75 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.003213, allocations: 4.938 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.412e-05/0.003267, allocations: 105.8 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.003277, allocations: 4.312 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.003298, allocations: 4.312 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.003389, allocations: 42.25 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.003399, allocations: 192 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.003407, allocations: 8.062 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.003412, allocations: 0 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.003449, allocations: 7.984 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.003577, allocations: 120.8 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.003742, allocations: 38.55 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.003756, allocations: 8.859 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.244e-05/0.003849, allocations: 4 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.003866, allocations: 38.64 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.003867, allocations: 0 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001955/0.005822, allocations: 0.5676 MB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.005852, allocations: 55.39 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.329e-05/0.005875, allocations: 89.86 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.005891, allocations: 33.7 kB / 0.6213 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.647e-05/0.005907, allocations: 80.14 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.005937, allocations: 15.84 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.005975, allocations: 21.7 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.006043, allocations: 314.8 kB / 0.6217 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.00629, allocations: 79.95 kB / 0.6218 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.006543, allocations: 102.5 kB / 0.6219 GB, free: 9.562 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.007029, allocations: 194.4 kB / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.00703, allocations: 0 / 0.6221 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005261/0.007556, allocations: 209.8 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.007569, allocations: 8 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007575, allocations: 3.938 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.007586, allocations: 4 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.007881, allocations: 56 kB / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.007886, allocations: 0 / 0.6223 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.008024, allocations: 39.98 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.008034, allocations: 3.984 kB / 0.6224 GB, free: 9.039 MB / 0.5886 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 5.862e-05/0.008092, allocations: 118.8 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.008104, allocations: 3.953 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.008709, allocations: 241.1 kB / 0.6227 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.008711, allocations: 4.359 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.008716, allocations: 0 / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008719, allocations: 0 / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.009424, allocations: 425.5 kB / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.009426, allocations: 0 / 0.6231 GB, free: 8.195 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.009582, allocations: 55.95 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.009585, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.009594, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009595, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009596, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.01014, allocations: 311.3 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-06/0.01015, allocations: 4 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01016, allocations: 192 / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.01032, allocations: 51.97 kB / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.01033, allocations: 0 / 0.6235 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.01033, allocations: 4 kB / 0.6235 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.912e-05/0.01035, allocations: 79.27 kB / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.01035, allocations: 0 / 0.6236 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001765/0.01053, allocations: 12 kB / 0.6236 GB, free: 7.672 MB / 0.5886 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.0007916/0.01132, allocations: 0.8412 MB / 0.6245 GB, free: 6.805 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005573/0.01188, allocations: 183.9 kB / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01188, allocations: 0 / 0.6246 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.01213, allocations: 88 kB / 0.6247 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.01228, allocations: 13.38 kB / 0.6247 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007297/0.01301, allocations: 246.6 kB / 0.625 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.137e-05/0.01305, allocations: 63.34 kB / 0.625 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.01316, allocations: 28 kB / 0.6251 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.01322, allocations: 16.5 kB / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.01322, allocations: 0 / 0.6251 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.0271, allocations: 2.269 MB / 0.6273 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.734, allocations: 11.8 kB / 0.6273 GB, free: 4.004 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.382287026382983] Failed to read output from testmodel.py, exit status != 0: 6.81134283170104 6.820173394 6.815605887 Calling exit ...