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.0009704/0.0009704, 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.001026/0.001026, allocations: 165.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.9064/0.9064, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7214/0.7214, allocations: 154.5 MB / 413.7 MB, free: 0.8281 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 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.363e-05/1.518e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001024/0.001039, allocations: 0.5985 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.002111, allocations: 1.128 MB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.002136, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.002152, allocations: 0 / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.002375, allocations: 15.88 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 3.346e-06/0.002378, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.446e-05/0.002423, allocations: 15.92 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.105e-05/0.002464, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.002489, allocations: 3.984 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.327e-05/0.002512, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.664e-06/0.00252, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.002615, allocations: 11.98 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.002627, allocations: 11.94 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.019e-05/0.002637, allocations: 0 / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.417e-05/0.002712, allocations: 11.97 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002713, allocations: 4 kB / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.012e-06/0.002714, allocations: 0 / 0.6199 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.002718, allocations: 0 / 0.6199 GB, free: 11.85 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.0002066/0.002925, allocations: 238.4 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.002964, allocations: 21.39 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.002991, allocations: 30.75 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.003164, allocations: 12.92 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.234e-05/0.003216, allocations: 105.8 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.003226, allocations: 384 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.003248, allocations: 4.375 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.082e-05/0.003339, allocations: 38.25 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.003349, allocations: 4.172 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.003357, allocations: 4.125 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.003361, allocations: 0 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.465e-05/0.003396, allocations: 7.984 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.003508, allocations: 128.7 kB / 0.6204 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.003653, allocations: 34.52 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.00367, allocations: 12.94 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.003686, allocations: 4 kB / 0.6205 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.003701, allocations: 34.5 kB / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 6.62e-07/0.003702, allocations: 0 / 0.6205 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.001806/0.005508, allocations: 0.5519 MB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.005537, allocations: 51.41 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.469e-05/0.005561, allocations: 89.86 kB / 0.6212 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.005574, allocations: 25.7 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/0.005593, allocations: 84.14 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.005623, allocations: 11.91 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.005663, allocations: 21.7 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/0.005732, allocations: 310.8 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.005981, allocations: 87.95 kB / 0.6217 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.006242, allocations: 110.5 kB / 0.6218 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.006731, allocations: 182.5 kB / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006732, allocations: 0 / 0.622 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005336/0.007266, allocations: 217.6 kB / 0.6222 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.007277, allocations: 4 kB / 0.6222 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.007283, allocations: 3.938 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.007295, allocations: 4 kB / 0.6222 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.007465, allocations: 55.92 kB / 0.6223 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.00747, allocations: 4 kB / 0.6223 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.00761, allocations: 39.98 kB / 0.6223 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.928e-06/0.00762, allocations: 4 kB / 0.6223 GB, free: 9.141 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.289e-05/0.007683, allocations: 114.8 kB / 0.6224 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.007696, allocations: 7.938 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.007741, allocations: 15.59 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007743, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.007747, allocations: 192 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007751, allocations: 4 kB / 0.6224 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/0.008486, allocations: 429.5 kB / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.008487, allocations: 0 / 0.6229 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.008644, allocations: 47.97 kB / 0.6229 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.008646, allocations: 4 kB / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.008655, allocations: 0 / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.008656, allocations: 0 / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008657, allocations: 0 / 0.6229 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005584/0.009216, allocations: 307.3 kB / 0.6232 GB, free: 8.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-06/0.00922, allocations: 7.938 kB / 0.6232 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.009233, allocations: 4 kB / 0.6232 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.009388, allocations: 43.97 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.009398, allocations: 4 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.009405, allocations: 0 / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.945e-05/0.009424, allocations: 79.28 kB / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009424, allocations: 0 / 0.6233 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001565/0.009581, allocations: 4 kB / 0.6233 GB, free: 8.008 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.000728/0.01031, allocations: 0.8412 MB / 0.6242 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.01095, allocations: 183.9 kB / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01095, allocations: 0 / 0.6243 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002875/0.01124, allocations: 88.06 kB / 0.6244 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.01139, allocations: 10.75 kB / 0.6244 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006569/0.01205, allocations: 238.6 kB / 0.6247 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.978e-05/0.01209, allocations: 59.77 kB / 0.6247 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.0122, allocations: 32 kB / 0.6247 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.01227, allocations: 16.5 kB / 0.6248 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.01227, allocations: 0 / 0.6248 GB, free: 6.469 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.0278, allocations: 2.25 MB / 0.627 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/7.05, allocations: 8.266 kB / 0.627 GB, free: 4.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.744692701846361] Failed to read output from testmodel.py, exit status != 0: 7.129389173351228 7.139468058 7.135095659 Calling exit ...