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.001246/0.001246, 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.00138/0.00138, allocations: 169.9 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.9421/0.9421, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.771/0.771, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.493e-06/1.493e-06, allocations: 0 / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.419e-05, allocations: 5.234 kB / 0.6182 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001242/0.001267, allocations: 0.5912 MB / 0.6187 GB, free: 13 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002564, allocations: 1.132 MB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.00259, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.002607, allocations: 4 kB / 0.6198 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002698/0.002877, allocations: 19.86 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.843e-06/0.002884, allocations: 4 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.635e-05/0.00293, allocations: 7.922 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.873e-05/0.002979, allocations: 4 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.003005, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.46e-05/0.003029, allocations: 0 / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.003039, allocations: 3.938 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.00314, allocations: 15.92 kB / 0.6199 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.003152, allocations: 4 kB / 0.6199 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.271e-05/0.003164, allocations: 8 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.585e-05/0.00325, allocations: 11.97 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.003253, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003255, allocations: 0 / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.00326, 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.0002454/0.003505, allocations: 246.4 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.003548, allocations: 8.031 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.00358, allocations: 30.75 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.003604, allocations: 0.9375 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.647e-05/0.003661, allocations: 105.8 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.003671, allocations: 384 / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.003693, allocations: 8.312 kB / 0.6203 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.003785, allocations: 42.19 kB / 0.6203 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.003796, allocations: 4.188 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.003806, allocations: 4.125 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.003811, allocations: 0 / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.003849, allocations: 4 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.003971, allocations: 128.7 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.004155, allocations: 34.61 kB / 0.6205 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.004171, allocations: 8.797 kB / 0.6205 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.004281, allocations: 7.984 kB / 0.6205 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.004302, allocations: 38.56 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.004303, allocations: 0 / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.00197/0.006273, allocations: 0.5715 MB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.006312, allocations: 51.41 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.095e-05/0.006343, allocations: 89.86 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.006359, allocations: 33.69 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.98e-05/0.006379, allocations: 84.14 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.006413, allocations: 7.906 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.006452, allocations: 21.72 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/0.00653, allocations: 318.8 kB / 0.6217 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.006786, allocations: 79.95 kB / 0.6218 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.007031, allocations: 102.5 kB / 0.6219 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.007512, allocations: 194.4 kB / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007514, allocations: 0 / 0.6221 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005274/0.008041, allocations: 209.6 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.008058, allocations: 8 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.008066, allocations: 3.938 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.008081, allocations: 3.938 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.008249, allocations: 52 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.008259, allocations: 0 / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.008396, allocations: 43.98 kB / 0.6224 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.008404, allocations: 0 / 0.6224 GB, free: 9.047 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 6.915e-05/0.008473, allocations: 122.7 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.008486, allocations: 3.953 kB / 0.6225 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006194/0.009106, allocations: 249.3 kB / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.009109, allocations: 0 / 0.6227 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.009114, allocations: 3.938 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.009117, allocations: 0 / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007606/0.009878, allocations: 425.5 kB / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.00988, allocations: 0 / 0.6231 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.01003, allocations: 47.97 kB / 0.6232 GB, free: 8.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01003, allocations: 4 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01005, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01005, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01005, allocations: 0 / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005529/0.0106, allocations: 307.3 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.01061, allocations: 4 kB / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.01063, allocations: 0 / 0.6235 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.01077, allocations: 43.97 kB / 0.6235 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.01079, allocations: 4 kB / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01079, allocations: 0 / 0.6235 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.198e-05/0.01082, allocations: 75.28 kB / 0.6236 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.01082, allocations: 4 kB / 0.6236 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001743/0.01099, allocations: 12 kB / 0.6236 GB, free: 7.684 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.0008402/0.01183, allocations: 0.8414 MB / 0.6244 GB, free: 6.816 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005725/0.0124, allocations: 175.9 kB / 0.6246 GB, free: 6.645 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01241, allocations: 8.188 kB / 0.6246 GB, free: 6.637 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.01264, allocations: 87.94 kB / 0.6247 GB, free: 6.551 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.0128, allocations: 8 kB / 0.6247 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.01352, allocations: 250.5 kB / 0.6249 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.822e-05/0.01358, allocations: 63.34 kB / 0.625 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.01369, allocations: 28 kB / 0.625 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.774e-05/0.01375, allocations: 16.5 kB / 0.6251 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.01375, allocations: 0 / 0.6251 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.03014, allocations: 2.273 MB / 0.6273 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/7.032, allocations: 11.8 kB / 0.6273 GB, free: 4.016 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.962995242327452] Failed to read output from testmodel.py, exit status != 0: 7.112558760680258 7.121595849 7.116430609 Calling exit ...