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.0007958/0.0007958, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007447/0.0007447, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8427/0.8427, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.723/0.723, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.951e-05, allocations: 5.094 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002489/0.002519, allocations: 1.768 MB / 0.6211 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.003431, allocations: 0.6971 MB / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.003496, allocations: 0 / 0.6217 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.003529, allocations: 11.81 kB / 0.6218 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.044e-05/0.00359, allocations: 23.78 kB / 0.6218 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004917/0.004081, allocations: 180.8 kB / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.004256, allocations: 131.6 kB / 0.6221 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.004411, allocations: 37.59 kB / 0.6221 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.004594, allocations: 87.8 kB / 0.6222 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.004675, allocations: 35.83 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.004701, allocations: 12 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.004799, allocations: 55.89 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.956e-05/0.004829, allocations: 27.91 kB / 0.6223 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.00487, allocations: 39.89 kB / 0.6224 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.005097, allocations: 167.5 kB / 0.6225 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005101, allocations: 3.984 kB / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.81e-07/0.005101, allocations: 0 / 0.6225 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.005106, allocations: 3.938 kB / 0.6225 GB, free: 9.871 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.0005091/0.005616, allocations: 369.7 kB / 0.6229 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.005654, allocations: 8.031 kB / 0.6229 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.006137, allocations: 136.6 kB / 0.623 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.006351, allocations: 146.2 kB / 0.6232 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.705e-05/0.006438, allocations: 115.4 kB / 0.6233 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.006455, allocations: 16.31 kB / 0.6233 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.00677, allocations: 221.2 kB / 0.6235 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006779, allocations: 3.938 kB / 0.6235 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.006796, allocations: 4 kB / 0.6235 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.006802, allocations: 4 kB / 0.6235 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.007094, allocations: 159.8 kB / 0.6237 GB, free: 8.617 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.007692, allocations: 401.7 kB / 0.624 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.00817, allocations: 214.3 kB / 0.6242 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.008316, allocations: 84.89 kB / 0.6243 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.008337, allocations: 4 kB / 0.6243 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.008357, allocations: 30.56 kB / 0.6244 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.008359, allocations: 0 / 0.6244 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005351/0.008894, allocations: 269.3 kB / 0.6246 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.008923, allocations: 55.34 kB / 0.6247 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.009008, allocations: 141.2 kB / 0.6248 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.009024, allocations: 25.7 kB / 0.6248 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.009076, allocations: 112.2 kB / 0.6249 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.009098, allocations: 23.83 kB / 0.625 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.009138, allocations: 25.7 kB / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.627e-05/0.009214, allocations: 314.8 kB / 0.6253 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.009362, allocations: 83.91 kB / 0.6254 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.009518, allocations: 90.5 kB / 0.6254 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.009804, allocations: 166.6 kB / 0.6256 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009806, allocations: 0 / 0.6256 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003315/0.01014, allocations: 209.4 kB / 0.6258 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.01015, allocations: 5.719 kB / 0.6258 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.01016, allocations: 0 / 0.6258 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01017, allocations: 7.938 kB / 0.6258 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.01029, allocations: 39.88 kB / 0.6259 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.0103, allocations: 7.938 kB / 0.6259 GB, free: 6.223 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.777e-05/0.01037, allocations: 27.91 kB / 0.6259 GB, free: 6.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.01038, allocations: 4 kB / 0.6259 GB, free: 6.191 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.287e-05/0.01046, allocations: 118.8 kB / 0.626 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.01048, allocations: 11.94 kB / 0.626 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.01086, allocations: 202.3 kB / 0.6262 GB, free: 5.852 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01086, allocations: 3.938 kB / 0.6262 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01087, allocations: 4 kB / 0.6262 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.01087, allocations: 0 / 0.6262 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.01101, allocations: 158.2 kB / 0.6264 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01101, allocations: 0 / 0.6264 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.0111, allocations: 35.89 kB / 0.6264 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.0111, allocations: 0 / 0.6264 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.01111, allocations: 0 / 0.6264 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01111, allocations: 8 kB / 0.6264 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.01112, allocations: 7.922 kB / 0.6264 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01146, allocations: 275.4 kB / 0.6267 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.01147, allocations: 19.88 kB / 0.6267 GB, free: 5.305 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.01149, allocations: 4.188 kB / 0.6267 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.01161, allocations: 35.95 kB / 0.6267 GB, free: 5.266 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.01164, allocations: 7.938 kB / 0.6267 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.01165, allocations: 3.984 kB / 0.6268 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.97e-05/0.0117, allocations: 114.2 kB / 0.6269 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0117, allocations: 0 / 0.6269 GB, free: 5.145 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001628/0.01187, allocations: 27.95 kB / 0.6269 GB, free: 5.117 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 8.958e-05/0.01195, allocations: 95.19 kB / 0.627 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003324/0.01229, allocations: 163.8 kB / 0.6271 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.01229, allocations: 0 / 0.6271 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.01244, allocations: 79.97 kB / 0.6272 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.01262, allocations: 12 kB / 0.6272 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.01305, allocations: 287.2 kB / 0.6275 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.414e-05/0.0131, allocations: 85.31 kB / 0.6276 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.01315, allocations: 16.5 kB / 0.6276 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of SimCode: time 7.41e-07/0.01315, allocations: 4 kB / 0.6276 GB, free: 4.328 MB / 0.5886 GB Notification: Performance of Templates: time 0.002144/0.0153, allocations: 1.685 MB / 0.6292 GB, free: 2.648 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.047183541581035] Failed to read output from testmodel.py, exit status != 0: 0.020369533449411392 0.027976805 0.021038562 Calling exit ...