Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008808/0.0008808, 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.001041/0.001041, 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.9159/0.9159, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7212/0.7212, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.618 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.852e-05, allocations: 5.781 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002028/0.002056, allocations: 1.467 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003421/0.002398, allocations: 191.4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.002429, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.002455, allocations: 4 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.623e-05/0.002491, allocations: 0 / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.002778, allocations: 43.78 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.002849, allocations: 27.91 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.002936, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.84e-05/0.002984, allocations: 15.98 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.003015, allocations: 4 kB / 0.6198 GB, free: 11.98 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.003029, allocations: 4 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.003105, allocations: 31.95 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.00312, allocations: 7.938 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.003137, allocations: 8 kB / 0.6198 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003259, allocations: 51.86 kB / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.003262, allocations: 0 / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.003263, allocations: 0 / 0.6199 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003267, allocations: 0 / 0.6199 GB, free: 11.88 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.0003575/0.003625, allocations: 266.3 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.003665, allocations: 9.469 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.003696, allocations: 34.75 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.593e-05/0.003721, allocations: 4.922 kB / 0.6202 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.811e-05/0.00381, allocations: 113.7 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.00382, allocations: 4.375 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.003828, allocations: 384 / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.003971, allocations: 54.17 kB / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.003979, allocations: 192 / 0.6203 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.003987, allocations: 4.312 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.003994, allocations: 4.125 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.004086, allocations: 31.97 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.004406, allocations: 220 kB / 0.6206 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.004508, allocations: 42.56 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.801e-05/0.004566, allocations: 32.81 kB / 0.6206 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.754e-05/0.004644, allocations: 4 kB / 0.6206 GB, free: 10.94 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.004669, allocations: 34.5 kB / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.004671, allocations: 0 / 0.6207 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002436/0.004914, allocations: 85.73 kB / 0.6208 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.004949, allocations: 55.34 kB / 0.6208 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.005019, allocations: 105.8 kB / 0.6209 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.00503, allocations: 25.7 kB / 0.6209 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.005074, allocations: 84.14 kB / 0.621 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.005092, allocations: 7.953 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.005121, allocations: 9.719 kB / 0.621 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.005216, allocations: 322.8 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.005266, allocations: 15.92 kB / 0.6214 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.091e-05/0.005307, allocations: 20.02 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.403e-05/0.005391, allocations: 36.83 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005394, allocations: 0 / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001282/0.005522, allocations: 69.59 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.005538, allocations: 4 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.005543, allocations: 0 / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.005558, allocations: 8.094 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.005632, allocations: 7.984 kB / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.005636, allocations: 0 / 0.6215 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.544e-05/0.005662, allocations: 7.984 kB / 0.6215 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.005667, allocations: 3.938 kB / 0.6215 GB, free: 9.984 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.915e-05/0.005726, allocations: 114.8 kB / 0.6216 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.005741, allocations: 7.891 kB / 0.6216 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.005883, allocations: 72.97 kB / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005885, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.005889, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.005891, allocations: 0 / 0.6217 GB, free: 9.773 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.005996, allocations: 132.7 kB / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.005997, allocations: 0 / 0.6218 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.006023, allocations: 8.234 kB / 0.6218 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.006027, allocations: 3.938 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.006034, allocations: 4 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.92e-07/0.006035, allocations: 4 kB / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006036, allocations: 32 / 0.6218 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.006167, allocations: 167.5 kB / 0.622 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.006173, allocations: 3.938 kB / 0.622 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-06/0.006183, allocations: 4 kB / 0.622 GB, free: 9.395 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.602e-05/0.006219, allocations: 3.984 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.006251, allocations: 4 kB / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.006253, allocations: 0 / 0.622 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.297e-05/0.006286, allocations: 87.27 kB / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006286, allocations: 0 / 0.6221 GB, free: 9.301 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001731/0.00646, allocations: 15.97 kB / 0.6221 GB, free: 9.285 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.000514/0.006974, allocations: 0.7045 MB / 0.6228 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.007106, allocations: 39.89 kB / 0.6228 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007108, allocations: 4 kB / 0.6228 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.205e-05/0.00715, allocations: 20.08 kB / 0.6229 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.007406, allocations: 4 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.007759, allocations: 134.6 kB / 0.623 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.71e-05/0.007816, allocations: 63.3 kB / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.954e-05/0.007836, allocations: 0 / 0.6231 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.00787, allocations: 16.48 kB / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of SimCode: time 5.91e-07/0.007871, allocations: 0 / 0.6231 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.02488, allocations: 2.101 MB / 0.6251 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.115/7.14, allocations: 7.672 kB / 0.6251 GB, free: 6.25 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.808250633068383] Failed to read output from testmodel.py, exit status != 0: 7.2206455916166306 7.229392434 7.22428415 Calling exit ...