Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001131/0.001131, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008914/0.0008914, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8837/0.8837, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7151/0.7151, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.9e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002039/0.002058, allocations: 1.764 MB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.002936, allocations: 0.6971 MB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.361e-05/0.002999, allocations: 4 kB / 0.6205 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.578e-05/0.003035, allocations: 15.8 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.003088, allocations: 11.81 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.003565, allocations: 192 kB / 0.6207 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.003714, allocations: 139.5 kB / 0.6209 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003839, allocations: 29.62 kB / 0.6209 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.004002, allocations: 79.8 kB / 0.621 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.00407, allocations: 43.88 kB / 0.621 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.004094, allocations: 12 kB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.841e-05/0.004182, allocations: 51.95 kB / 0.6211 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.004207, allocations: 27.89 kB / 0.6211 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.004245, allocations: 39.91 kB / 0.6211 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.004435, allocations: 171.4 kB / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.004437, allocations: 0 / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.213e-06/0.004439, allocations: 0 / 0.6213 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.004443, allocations: 0 / 0.6213 GB, free: 10.39 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004349/0.004878, allocations: 373.6 kB / 0.6217 GB, free: 10 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.004917, allocations: 12.03 kB / 0.6217 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.826e-05/0.004955, allocations: 34.75 kB / 0.6217 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004884/0.005443, allocations: 132.6 kB / 0.6218 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.005653, allocations: 164.9 kB / 0.622 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.005732, allocations: 115.4 kB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.005749, allocations: 12.31 kB / 0.6221 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.006067, allocations: 217 kB / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.006075, allocations: 0 / 0.6223 GB, free: 9.254 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.006093, allocations: 11.98 kB / 0.6223 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.006098, allocations: 4 kB / 0.6223 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.006402, allocations: 155.8 kB / 0.6225 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.007024, allocations: 433.2 kB / 0.6229 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.007521, allocations: 210.3 kB / 0.6231 GB, free: 8.402 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.007669, allocations: 80.91 kB / 0.6232 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.007688, allocations: 0 / 0.6232 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.007708, allocations: 34.5 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.007709, allocations: 4 kB / 0.6232 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005575/0.008267, allocations: 265.3 kB / 0.6235 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.008295, allocations: 51.41 kB / 0.6235 GB, free: 7.945 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.008382, allocations: 146.4 kB / 0.6236 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.008401, allocations: 25.7 kB / 0.6237 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.008451, allocations: 116.2 kB / 0.6238 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.008466, allocations: 15.86 kB / 0.6238 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.00851, allocations: 29.7 kB / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.008593, allocations: 322.8 kB / 0.6241 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.008737, allocations: 67.92 kB / 0.6242 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.008889, allocations: 98.47 kB / 0.6243 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.009183, allocations: 166.4 kB / 0.6244 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.009185, allocations: 0 / 0.6244 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003327/0.009518, allocations: 205.7 kB / 0.6246 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.00953, allocations: 7.938 kB / 0.6247 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.009536, allocations: 8 kB / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.009548, allocations: 0 / 0.6247 GB, free: 6.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.009673, allocations: 35.95 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.009677, allocations: 64 / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.009759, allocations: 35.83 kB / 0.6247 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.009769, allocations: 4 kB / 0.6247 GB, free: 6.625 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 (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 7.079e-05/0.00984, allocations: 122.8 kB / 0.6248 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.009864, allocations: 11.89 kB / 0.6249 GB, free: 6.484 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.01024, allocations: 210.2 kB / 0.6251 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01024, allocations: 0 / 0.6251 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01025, allocations: 0 / 0.6251 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.01025, allocations: 0 / 0.6251 GB, free: 6.273 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.0104, allocations: 177.7 kB / 0.6252 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.0104, allocations: 0 / 0.6252 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.01056, allocations: 31.95 kB / 0.6253 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01056, allocations: 11.88 kB / 0.6253 GB, free: 6.016 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.01057, allocations: 7.984 kB / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01058, allocations: 0 / 0.6253 GB, free: 6.008 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.01058, allocations: 3.984 kB / 0.6253 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.01095, allocations: 275.4 kB / 0.6255 GB, free: 5.719 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01097, allocations: 23.94 kB / 0.6256 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.01098, allocations: 3.938 kB / 0.6256 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.01112, allocations: 27.95 kB / 0.6256 GB, free: 5.664 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.01116, allocations: 4 kB / 0.6256 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.01117, allocations: 11.98 kB / 0.6256 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.01123, allocations: 110.4 kB / 0.6257 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 3.938 kB / 0.6257 GB, free: 5.539 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001659/0.01139, allocations: 27.89 kB / 0.6258 GB, free: 5.512 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 (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.0005388/0.01193, allocations: 0.8217 MB / 0.6266 GB, free: 4.664 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003509/0.01228, allocations: 163.8 kB / 0.6267 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01228, allocations: 0 / 0.6267 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.01243, allocations: 79.91 kB / 0.6268 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01264, allocations: 8 kB / 0.6268 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.01438, allocations: 1.855 MB / 0.6286 GB, free: 2.477 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.01444, allocations: 89.31 kB / 0.6287 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.0145, allocations: 12 kB / 0.6287 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.01456, allocations: 36.47 kB / 0.6287 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of SimCode: time 5.31e-07/0.01456, allocations: 4 kB / 0.6287 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.0335, allocations: 3.572 MB / 0.6322 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/6.919, allocations: 11.44 kB / 0.6322 GB, free: 14.9 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothBlocks.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.559203271754086] Failed to read output from testmodel.py, exit status != 0: 7.001208199188113 7.009873765 7.003535399 Calling exit ...