Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008705/0.0008705, 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.0009051/0.0009051, 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.9369/0.9369, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7257/0.7257, allocations: 154.6 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.182e-05/3.397e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001991/0.002025, allocations: 0.6072 MB / 0.6187 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.003477, allocations: 1.12 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.003502, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.003519, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.003771, allocations: 23.8 kB / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.003775, allocations: 0 / 0.6198 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.259e-05/0.003817, allocations: 11.98 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.003864, allocations: 0 / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.003891, allocations: 4 kB / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.345e-05/0.003915, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.003923, allocations: 0 / 0.6198 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.004033, allocations: 23.86 kB / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.004043, allocations: 0 / 0.6199 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.154e-05/0.004054, allocations: 3.984 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.2e-05/0.004136, allocations: 11.98 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.004139, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00414, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.004145, allocations: 4 kB / 0.6199 GB, free: 11.81 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.0002268/0.004372, allocations: 238.4 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.004413, allocations: 13.47 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.077e-05/0.004444, allocations: 38.67 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002141/0.004658, allocations: 12.92 kB / 0.6202 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.511e-05/0.004723, allocations: 101.8 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.004735, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.004765, allocations: 8.375 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.004882, allocations: 38.19 kB / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.004893, allocations: 192 / 0.6203 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.004906, allocations: 8.125 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.004911, allocations: 0 / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/0.004965, allocations: 7.984 kB / 0.6203 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.00511, allocations: 124.7 kB / 0.6204 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.005321, allocations: 34.61 kB / 0.6205 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.215e-05/0.005353, allocations: 12.8 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.005379, allocations: 4.078 kB / 0.6205 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.005407, allocations: 38.5 kB / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.005408, allocations: 0 / 0.6205 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001804/0.007212, allocations: 0.548 MB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.007248, allocations: 51.41 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.14e-05/0.007279, allocations: 89.86 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.007295, allocations: 29.7 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.969e-05/0.007315, allocations: 88.14 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.00735, allocations: 7.906 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.007394, allocations: 21.7 kB / 0.6213 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.007473, allocations: 314.8 kB / 0.6216 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.007726, allocations: 83.95 kB / 0.6217 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.007976, allocations: 98.53 kB / 0.6218 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.008452, allocations: 198.4 kB / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.008453, allocations: 0 / 0.622 GB, free: 9.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005246/0.008978, allocations: 209.6 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.008994, allocations: 6.188 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.009001, allocations: 7.938 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.009016, allocations: 4.031 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.009186, allocations: 51.97 kB / 0.6223 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.009193, allocations: 4 kB / 0.6223 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.009331, allocations: 39.97 kB / 0.6223 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.00934, allocations: 4 kB / 0.6223 GB, free: 9.105 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 9.149e-05/0.009432, allocations: 118.7 kB / 0.6224 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.305e-05/0.009445, allocations: 3.953 kB / 0.6224 GB, free: 8.977 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.907e-05/0.009504, allocations: 19.58 kB / 0.6224 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.009509, allocations: 4 kB / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.009515, allocations: 192 / 0.6225 GB, free: 8.945 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.009519, allocations: 3.938 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007922/0.01031, allocations: 425.5 kB / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01031, allocations: 0 / 0.6229 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.01047, allocations: 51.97 kB / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01047, allocations: 0 / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.01048, allocations: 0 / 0.6229 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.01048, allocations: 4 kB / 0.6229 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.01048, allocations: 3.938 kB / 0.6229 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005628/0.01105, allocations: 307.4 kB / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.01105, allocations: 0 / 0.6232 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.01107, allocations: 4 kB / 0.6232 GB, free: 8.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.01121, allocations: 43.97 kB / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.195e-05/0.01123, allocations: 0 / 0.6233 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01123, allocations: 7.938 kB / 0.6233 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.945e-05/0.01125, allocations: 75.28 kB / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01125, allocations: 0 / 0.6233 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001569/0.01141, allocations: 8 kB / 0.6233 GB, free: 7.965 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.0007882/0.0122, allocations: 0.8451 MB / 0.6242 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005478/0.01275, allocations: 172 kB / 0.6243 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01275, allocations: 0 / 0.6243 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.01299, allocations: 96 kB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.01322, allocations: 8 kB / 0.6244 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.01395, allocations: 234.7 kB / 0.6247 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.121e-05/0.014, allocations: 63.34 kB / 0.6247 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.01411, allocations: 28 kB / 0.6247 GB, free: 6.445 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.01419, allocations: 16.5 kB / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of SimCode: time 1.293e-06/0.01419, allocations: 0 / 0.6248 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.03223, allocations: 2.255 MB / 0.627 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.031/7.063, allocations: 3.75 kB / 0.627 GB, free: 4.336 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.860544634051621] Failed to read output from testmodel.py, exit status != 0: 7.146469326689839 7.156018473 7.149767661 Calling exit ...