Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001257/0.001257, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001266/0.001266, allocations: 221.7 kB / 22.26 MB, free: 3.695 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 1.007/1.007, allocations: 230.6 MB / 256 MB, free: 9.812 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.8248/0.8248, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks",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.001023/0.001023, allocations: 66.83 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5706, allocations: 102 MB / 0.8179 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002661/0.5733, allocations: 1.823 MB / 0.8196 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.5744, allocations: 0.7434 MB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.5745, allocations: 6.375 kB / 0.8204 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.5745, allocations: 11.06 kB / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.5746, allocations: 21.09 kB / 0.8204 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.5751, allocations: 182 kB / 0.8206 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000219/0.5754, allocations: 137.5 kB / 0.8207 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.5755, allocations: 40.64 kB / 0.8207 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.5757, allocations: 72.91 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.5759, allocations: 48.75 kB / 0.8209 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.5759, allocations: 14.78 kB / 0.8209 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.576, allocations: 47.16 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.812e-05/0.576, allocations: 29.02 kB / 0.821 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.5761, allocations: 62.14 kB / 0.821 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.5764, allocations: 152.7 kB / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.5764, allocations: 0 / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.657e-06/0.5764, allocations: 0.75 kB / 0.8212 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.5764, allocations: 2.031 kB / 0.8212 GB, free: 15.11 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005918/0.577, allocations: 379.8 kB / 0.8215 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5771, allocations: 7.125 kB / 0.8215 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.5771, allocations: 40.14 kB / 0.8216 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006376/0.5778, allocations: 133 kB / 0.8217 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.5781, allocations: 154.5 kB / 0.8218 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.5782, allocations: 119.7 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.5783, allocations: 8.375 kB / 0.822 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.5787, allocations: 170 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5787, allocations: 2.844 kB / 0.8221 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.5787, allocations: 4 kB / 0.8221 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.5787, allocations: 1.375 kB / 0.8221 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.5791, allocations: 154.2 kB / 0.8223 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009436/0.5801, allocations: 465.1 kB / 0.8227 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.5807, allocations: 220.4 kB / 0.8229 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.5809, allocations: 78.78 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/0.5809, allocations: 1.984 kB / 0.823 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.581, allocations: 41.38 kB / 0.823 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 3.156e-06/0.581, allocations: 0 / 0.823 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006898/0.5816, allocations: 262 kB / 0.8233 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.5817, allocations: 53.53 kB / 0.8234 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5818, allocations: 143.9 kB / 0.8235 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5818, allocations: 27.14 kB / 0.8235 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.5819, allocations: 110.5 kB / 0.8236 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.272e-05/0.5819, allocations: 28.27 kB / 0.8236 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.5819, allocations: 22.7 kB / 0.8237 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.582, allocations: 320.4 kB / 0.824 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.5822, allocations: 75.33 kB / 0.824 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.5824, allocations: 96.48 kB / 0.8241 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.5828, allocations: 159.8 kB / 0.8243 GB, free: 13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5828, allocations: 1 kB / 0.8243 GB, free: 13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004161/0.5832, allocations: 217.7 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.5832, allocations: 5.906 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5832, allocations: 5.281 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.5832, allocations: 1.031 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.5834, allocations: 35.44 kB / 0.8245 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5834, allocations: 5.672 kB / 0.8245 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.5835, allocations: 21.91 kB / 0.8246 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.5835, allocations: 4.484 kB / 0.8246 GB, free: 12.9 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 (8): * Single equations (assignments): 8 * 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.231e-05/0.5836, allocations: 122.8 kB / 0.8247 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.809e-05/0.5836, allocations: 8.578 kB / 0.8247 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.5841, allocations: 207.8 kB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5841, allocations: 1.25 kB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5841, allocations: 0.5625 kB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5841, allocations: 1.953 kB / 0.8249 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.5843, allocations: 219.9 kB / 0.8251 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5843, allocations: 7.938 kB / 0.8251 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.5844, allocations: 37.34 kB / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.5845, allocations: 0 / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.5845, allocations: 2.5 kB / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5845, allocations: 1.094 kB / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5845, allocations: 0 / 0.8252 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.5849, allocations: 290.6 kB / 0.8254 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.5849, allocations: 8.219 kB / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.5849, allocations: 0.7031 kB / 0.8254 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.5851, allocations: 33.59 kB / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.5851, allocations: 8.094 kB / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.5852, allocations: 7.5 kB / 0.8255 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.6e-05/0.5852, allocations: 108.1 kB / 0.8256 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5852, allocations: 0 / 0.8256 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001934/0.5854, allocations: 27.55 kB / 0.8256 GB, free: 12.21 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 (6): * Single equations (assignments): 6 * 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.0009759/0.5864, allocations: 0.8252 MB / 0.8264 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004146/0.5868, allocations: 159.1 kB / 0.8266 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5868, allocations: 0 / 0.8266 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.587, allocations: 84.78 kB / 0.8267 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.5872, allocations: 9.891 kB / 0.8267 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.5895, allocations: 1.844 MB / 0.8285 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.5897, allocations: 0.7084 MB / 0.8292 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.914e-05/0.5898, allocations: 20.23 kB / 0.8292 GB, free: 9.328 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.556e-05/0.5898, allocations: 33.39 kB / 0.8292 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5898, allocations: 0 / 0.8292 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.6119, allocations: 2.949 MB / 0.8321 GB, free: 8.797 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.57/7.182, allocations: 12.88 kB / 0.8321 GB, free: 8.793 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.339029733790085] Failed to read output from testmodel.py, exit status != 0: 7.261053181020543 7.273212915 6.694418708 Calling exit ...