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.0008095/0.0008095, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008461/0.0008461, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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.9885/0.9885, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.8505/0.8505, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000929/0.000929, allocations: 66.7 kB / 0.7182 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.547/0.5479, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001281/0.5492, allocations: 0.5948 MB / 0.8184 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009197/0.5501, allocations: 1.135 MB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.435e-05/0.5501, allocations: 0 / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.5501, allocations: 4 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.5504, allocations: 21.25 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.388e-06/0.5504, allocations: 3.531 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.344e-05/0.5504, allocations: 4.5 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.5505, allocations: 0.6094 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.73e-05/0.5505, allocations: 2.703 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.491e-05/0.5505, allocations: 2.062 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.284e-06/0.5505, allocations: 0 / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.5506, allocations: 26.52 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.5507, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.5507, allocations: 7.656 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.767e-05/0.5507, allocations: 18.2 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5508, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.5508, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.5508, allocations: 0 / 0.8196 GB, free: 15.8 MB / 0.6198 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.0005023/0.5513, allocations: 243.5 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5513, allocations: 7.469 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.5513, allocations: 39.75 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.5515, allocations: 14.3 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.008e-05/0.5516, allocations: 113.6 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5516, allocations: 384 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.5516, allocations: 6.188 kB / 0.82 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.5517, allocations: 43.73 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5518, allocations: 0.7812 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.5518, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.5518, allocations: 3.719 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.183e-05/0.5518, allocations: 3.828 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.5519, allocations: 123.5 kB / 0.8202 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.5521, allocations: 37.89 kB / 0.8202 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.5521, allocations: 8.484 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.5521, allocations: 0.7031 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.5522, allocations: 40.41 kB / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.5522, allocations: 0 / 0.8203 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.002019/0.5542, allocations: 0.5408 MB / 0.8208 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.5542, allocations: 60.38 kB / 0.8209 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.985e-05/0.5542, allocations: 90.38 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.5543, allocations: 31.27 kB / 0.821 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.854e-05/0.5543, allocations: 80.14 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.503e-05/0.5543, allocations: 16.05 kB / 0.8211 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.5544, allocations: 20.44 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.5544, allocations: 314.5 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.5547, allocations: 90.12 kB / 0.8215 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002952/0.555, allocations: 102 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.5556, allocations: 188.2 kB / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5556, allocations: 0 / 0.8217 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005894/0.5562, allocations: 219 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5562, allocations: 5.828 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5562, allocations: 1.094 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5562, allocations: 1.188 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.5564, allocations: 58.86 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.5564, allocations: 1.125 kB / 0.822 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.5566, allocations: 44.58 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.5566, allocations: 3.812 kB / 0.8221 GB, free: 14.2 MB / 0.6198 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.94e-05/0.5567, allocations: 109.2 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.5567, allocations: 5.125 kB / 0.8222 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.5567, allocations: 13.92 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5567, allocations: 0 / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5567, allocations: 0 / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5567, allocations: 2.531 kB / 0.8222 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008215/0.5576, allocations: 432.6 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5576, allocations: 0 / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.5577, allocations: 51.45 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5577, allocations: 0 / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.5577, allocations: 1.25 kB / 0.8226 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5578, allocations: 1.469 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5578, allocations: 3.984 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.5584, allocations: 309.2 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-06/0.5584, allocations: 2.109 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.5584, allocations: 1.922 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.5586, allocations: 40.62 kB / 0.823 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.5586, allocations: 7.094 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.5586, allocations: 2.141 kB / 0.823 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.223e-05/0.5586, allocations: 80.53 kB / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5586, allocations: 0 / 0.8231 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001547/0.5588, allocations: 10.75 kB / 0.8231 GB, free: 13.51 MB / 0.6198 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.0008561/0.5597, allocations: 0.8317 MB / 0.8239 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.5603, allocations: 182.7 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.5603, allocations: 1.156 kB / 0.8241 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.5606, allocations: 96.64 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.5608, allocations: 2.078 kB / 0.8242 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.5615, allocations: 254.7 kB / 0.8244 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.081e-05/0.5615, allocations: 59.12 kB / 0.8245 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000109/0.5616, allocations: 31.41 kB / 0.8245 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.829e-05/0.5617, allocations: 14.05 kB / 0.8245 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of SimCode: time 3.6e-07/0.5617, allocations: 4 kB / 0.8245 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01519/0.5769, allocations: 2.093 MB / 0.8266 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.462/7.039, allocations: 10.16 kB / 0.8266 GB, free: 11.69 MB / 0.6198 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: 10.25077853212133] Failed to read output from testmodel.py, exit status != 0: 7.117870452813804 7.127935888 6.575278738 Calling exit ...