Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.0007598/0.0007598, 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.0007792/0.0007792, allocations: 169.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.9019/0.9019, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.71/0.71, allocations: 154.6 MB / 413.8 MB, free: 0.8047 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.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.969e-05/2.113e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002161/0.002182, allocations: 1.471 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.002516, allocations: 183.5 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.002548, allocations: 0 / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.002578, allocations: 3.938 kB / 0.6197 GB, free: 12.01 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.002616, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.002881, allocations: 38.66 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.002949, allocations: 31.91 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.704e-05/0.003036, allocations: 4 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.003084, allocations: 11.98 kB / 0.6198 GB, free: 11.92 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.062e-05/0.003115, allocations: 8 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.003128, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.359e-05/0.003202, allocations: 27.97 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.003218, allocations: 19.86 kB / 0.6199 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.734e-05/0.003235, allocations: 3.984 kB / 0.6199 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003342, allocations: 47.88 kB / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.003345, allocations: 0 / 0.6199 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.052e-06/0.003346, allocations: 4 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.00335, allocations: 0 / 0.6199 GB, free: 11.81 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.0003351/0.003685, allocations: 266.3 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.003724, allocations: 15.97 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.003753, allocations: 30.75 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.295e-05/0.003776, allocations: 0.9375 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.87e-05/0.003854, allocations: 113.7 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.003864, allocations: 384 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.003871, allocations: 384 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003996, allocations: 54.23 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.004003, allocations: 192 / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.00401, allocations: 4.375 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.004016, allocations: 4.125 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.004099, allocations: 31.91 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.004367, allocations: 228 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.654e-05/0.004443, allocations: 30.56 kB / 0.6207 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.004492, allocations: 32.83 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-05/0.004556, allocations: 4 kB / 0.6207 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.004575, allocations: 34.5 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004576, allocations: 4 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002128/0.004789, allocations: 81.58 kB / 0.6208 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.004817, allocations: 55.41 kB / 0.6209 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.449e-05/0.004872, allocations: 101.8 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.004881, allocations: 29.83 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.004915, allocations: 88.14 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.004931, allocations: 3.953 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.004954, allocations: 13.72 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.005028, allocations: 314.8 kB / 0.6214 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.003e-05/0.005068, allocations: 15.97 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.005105, allocations: 19.98 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.005182, allocations: 40.83 kB / 0.6215 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005184, allocations: 4 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.753e-05/0.005282, allocations: 65.59 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.005293, allocations: 8 kB / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005297, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.005308, allocations: 0 / 0.6215 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.632e-05/0.005364, allocations: 7.984 kB / 0.6215 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.005369, allocations: 4 kB / 0.6215 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.00539, allocations: 12.2 kB / 0.6216 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.005395, allocations: 4 kB / 0.6216 GB, free: 9.926 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.015e-05/0.005445, allocations: 110.8 kB / 0.6217 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.005459, allocations: 15.89 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.005591, allocations: 72.86 kB / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005592, allocations: 0 / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.005596, allocations: 0 / 0.6218 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.005601, allocations: 4.031 kB / 0.6218 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.005702, allocations: 128.8 kB / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.005702, allocations: 0 / 0.6219 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.005727, allocations: 11.97 kB / 0.6219 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.005729, allocations: 7.938 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.005736, allocations: 4 kB / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.005737, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005737, allocations: 0 / 0.6219 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.005857, allocations: 159.5 kB / 0.6221 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.005864, allocations: 11.97 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.005872, allocations: 0 / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.005908, allocations: 7.984 kB / 0.6221 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.005942, allocations: 4 kB / 0.6221 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005945, allocations: 3.938 kB / 0.6221 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.005982, allocations: 83.27 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.005982, allocations: 0 / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001713/0.006154, allocations: 15.94 kB / 0.6222 GB, free: 9.223 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 (2): * Single equations (assignments): 2 * 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.0003559/0.00651, allocations: 0.7007 MB / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001203/0.00663, allocations: 43.89 kB / 0.6229 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.006631, allocations: 0 / 0.6229 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.00667, allocations: 19.98 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.006867, allocations: 1.875 kB / 0.6229 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003219/0.007189, allocations: 138.8 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.007233, allocations: 59.34 kB / 0.6231 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.966e-05/0.007253, allocations: 4 kB / 0.6231 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.007282, allocations: 12.44 kB / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of SimCode: time 3.1e-07/0.007282, allocations: 0 / 0.6231 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0146/0.02188, allocations: 2.108 MB / 0.6252 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/6.881, allocations: 7.234 kB / 0.6252 GB, free: 6.188 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.53068698477] Failed to read output from testmodel.py, exit status != 0: 6.960375332273543 6.968719997 6.963751366 Calling exit ...