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.001252/0.001252, 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.001533/0.001533, allocations: 223.6 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 0.9267/0.9267, allocations: 230.6 MB / 256 MB, free: 9.805 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.8078/0.8078, allocations: 203.8 MB / 0.5042 GB, free: 10.77 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.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: 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.001184/0.001184, allocations: 68.89 kB / 0.7182 GB, free: 4.336 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5691, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002273/0.5714, allocations: 1.465 MB / 0.8193 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004062/0.5718, allocations: 210.2 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.5718, allocations: 0 / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.5718, allocations: 4.875 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.092e-05/0.5719, allocations: 7.688 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.5722, allocations: 35.16 kB / 0.8195 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.885e-05/0.5722, allocations: 22 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.729e-05/0.5723, allocations: 11.05 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.211e-05/0.5723, allocations: 4.688 kB / 0.8196 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.351e-05/0.5724, allocations: 14.72 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.5724, allocations: 2.625 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.45e-05/0.5725, allocations: 35.98 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.5725, allocations: 6.531 kB / 0.8196 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.5725, allocations: 10.75 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.5726, allocations: 44.83 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5727, allocations: 0.6094 kB / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5727, allocations: 0 / 0.8197 GB, free: 20 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.5727, allocations: 3.938 kB / 0.8197 GB, free: 16 kB / 0.6042 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.000452/0.5731, allocations: 267.5 kB / 0.8199 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.5732, allocations: 9.5 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.5732, allocations: 36.56 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.5732, allocations: 5.953 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5733, allocations: 111.7 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.5734, allocations: 4.375 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.5734, allocations: 4.281 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5736, allocations: 46.34 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5736, allocations: 3.938 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.5736, allocations: 0.5938 kB / 0.8202 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.5736, allocations: 6.656 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.5737, allocations: 37.42 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.5741, allocations: 220.4 kB / 0.8204 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.5742, allocations: 41.16 kB / 0.8205 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/0.5742, allocations: 24.05 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-05/0.5743, allocations: 7.609 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5743, allocations: 31.41 kB / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.5743, allocations: 0 / 0.8205 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002782/0.5746, allocations: 89.08 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.5746, allocations: 51.41 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.5747, allocations: 106.9 kB / 0.8207 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.5747, allocations: 26.8 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.5748, allocations: 81.75 kB / 0.8209 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.5748, allocations: 9.797 kB / 0.8209 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.5748, allocations: 16.53 kB / 0.8209 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5749, allocations: 313.7 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.205e-05/0.575, allocations: 18.31 kB / 0.8212 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.575, allocations: 18.06 kB / 0.8212 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.089e-05/0.5751, allocations: 39.03 kB / 0.8212 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5751, allocations: 4.594 kB / 0.8213 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004409/0.5756, allocations: 71 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.5756, allocations: 7 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5756, allocations: 4.094 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5756, allocations: 0 / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.217e-05/0.5757, allocations: 7.281 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5757, allocations: 0.6562 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.5757, allocations: 7.797 kB / 0.8213 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.5757, allocations: 0 / 0.8213 GB, free: 14.45 MB / 0.6198 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.961e-05/0.5758, allocations: 111.7 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.5758, allocations: 3.156 kB / 0.8215 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.5759, allocations: 82.25 kB / 0.8215 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.5759, allocations: 6.984 kB / 0.8215 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5759, allocations: 0 / 0.8215 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5759, allocations: 0.7031 kB / 0.8215 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.5761, allocations: 134.6 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5761, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.5761, allocations: 9.75 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.5761, allocations: 3.938 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5761, allocations: 12.5 kB / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.5761, allocations: 0 / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5761, allocations: 256 / 0.8217 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.5762, allocations: 160.9 kB / 0.8218 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.5763, allocations: 5 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.5763, allocations: 4.656 kB / 0.8219 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.783e-05/0.5763, allocations: 10.42 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.5764, allocations: 5.359 kB / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.5764, allocations: 0 / 0.8219 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.5764, allocations: 83.95 kB / 0.822 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5764, allocations: 3.75 kB / 0.822 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001656/0.5766, allocations: 6.5 kB / 0.822 GB, free: 13.87 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 (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.0004839/0.577, allocations: 0.7095 MB / 0.8227 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.5772, allocations: 40.81 kB / 0.8227 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5772, allocations: 0 / 0.8227 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.527e-05/0.5773, allocations: 24.72 kB / 0.8227 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.5776, allocations: 12.23 kB / 0.8227 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.578, allocations: 137.5 kB / 0.8229 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.5783, allocations: 0.6765 MB / 0.8235 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.821e-05/0.5783, allocations: 1.219 kB / 0.8235 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.5783, allocations: 10.31 kB / 0.8235 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5783, allocations: 0 / 0.8235 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.5956, allocations: 1.553 MB / 0.825 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.466/7.062, allocations: 5.594 kB / 0.8251 GB, free: 11.88 MB / 0.6198 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.986882666125894] Failed to read output from testmodel.py, exit status != 0: 7.139937781961635 7.152017942 6.577181976 Calling exit ...