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.001165/0.001165, allocations: 101.5 kB / 18.95 MB, free: 1.312 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.001064/0.001064, allocations: 216 kB / 22.25 MB, free: 3.676 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.9656/0.9656, allocations: 230.6 MB / 256 MB, free: 9.621 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.7815/0.7815, allocations: 203.8 MB / 0.5042 GB, free: 10.46 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.001339/0.001339, allocations: 66.83 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/0.5499, allocations: 102 MB / 0.8178 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001996/0.5519, allocations: 1.463 MB / 0.8192 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004098/0.5523, allocations: 186.9 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.5524, allocations: 0.6562 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.5524, allocations: 7.938 kB / 0.8194 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.256e-05/0.5525, allocations: 6.812 kB / 0.8194 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.5527, allocations: 40.7 kB / 0.8194 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.5528, allocations: 27.98 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.5529, allocations: 3.875 kB / 0.8195 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/0.553, allocations: 10.39 kB / 0.8195 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.656e-05/0.553, allocations: 15.02 kB / 0.8195 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.553, allocations: 0 / 0.8195 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.5532, allocations: 32.72 kB / 0.8195 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.5532, allocations: 6.859 kB / 0.8195 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.5532, allocations: 11.94 kB / 0.8196 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.5534, allocations: 41.95 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5534, allocations: 3.172 kB / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.255e-06/0.5534, allocations: 0 / 0.8196 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5534, allocations: 0 / 0.8196 GB, free: 15.66 MB / 0.6198 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.0004474/0.5539, allocations: 268 kB / 0.8198 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.5539, allocations: 9.312 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.5539, allocations: 33.83 kB / 0.8199 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.554, allocations: 4.891 kB / 0.8199 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.5541, allocations: 109.5 kB / 0.82 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.5541, allocations: 5.656 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.5541, allocations: 4.359 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.5542, allocations: 51.91 kB / 0.8201 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.5543, allocations: 7.922 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.5543, allocations: 0 / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5543, allocations: 1.281 kB / 0.8201 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.5544, allocations: 33.66 kB / 0.8201 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.5546, allocations: 216 kB / 0.8203 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.556e-05/0.5547, allocations: 48 kB / 0.8204 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.5548, allocations: 20.44 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.684e-05/0.5548, allocations: 3.891 kB / 0.8204 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.5548, allocations: 39.17 kB / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.153e-06/0.5548, allocations: 0 / 0.8204 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002221/0.5551, allocations: 87.86 kB / 0.8205 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.5551, allocations: 51.41 kB / 0.8205 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.5552, allocations: 103.6 kB / 0.8206 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.5552, allocations: 25.7 kB / 0.8207 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.5552, allocations: 84.84 kB / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.5552, allocations: 11.88 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/0.5552, allocations: 10.38 kB / 0.8208 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.5553, allocations: 322.1 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.5554, allocations: 13.86 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.099e-05/0.5554, allocations: 22.03 kB / 0.8211 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.5555, allocations: 40.95 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5555, allocations: 3.938 kB / 0.8212 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.5556, allocations: 64.91 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.5556, allocations: 6.328 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.5556, allocations: 0 / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5556, allocations: 5.438 kB / 0.8212 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.856e-05/0.5557, allocations: 12.11 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5557, allocations: 5.031 kB / 0.8212 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.528e-05/0.5557, allocations: 7.641 kB / 0.8213 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.5557, allocations: 0.5156 kB / 0.8213 GB, free: 14.09 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.986e-05/0.5558, allocations: 117.9 kB / 0.8214 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.5558, allocations: 0 / 0.8214 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.556, allocations: 81.5 kB / 0.8214 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.556, allocations: 0 / 0.8214 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.556, allocations: 0 / 0.8214 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.556, allocations: 0.5625 kB / 0.8214 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.5561, allocations: 134.8 kB / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5561, allocations: 0 / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.037e-05/0.5561, allocations: 9.516 kB / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5561, allocations: 0 / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.5561, allocations: 0 / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.5561, allocations: 0 / 0.8216 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.5561, allocations: 4.688 kB / 0.8216 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.5563, allocations: 164.2 kB / 0.8217 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.5563, allocations: 6.719 kB / 0.8217 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.5563, allocations: 3.938 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.5563, allocations: 6.781 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.5564, allocations: 3.031 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.5564, allocations: 1.438 kB / 0.8218 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.5564, allocations: 81.19 kB / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5564, allocations: 0 / 0.8218 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001559/0.5566, allocations: 17.59 kB / 0.8219 GB, free: 13.52 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.0003775/0.557, allocations: 0.7064 MB / 0.8225 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.5571, allocations: 35.69 kB / 0.8226 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5571, allocations: 1.469 kB / 0.8226 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.481e-05/0.5571, allocations: 25.27 kB / 0.8226 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.5574, allocations: 3.625 kB / 0.8226 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.5577, allocations: 148.1 kB / 0.8228 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.5577, allocations: 59.81 kB / 0.8228 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.813e-05/0.5577, allocations: 3.938 kB / 0.8228 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.5578, allocations: 13.81 kB / 0.8228 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.5578, allocations: 0 / 0.8228 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.5736, allocations: 1.985 MB / 0.8248 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.562/7.136, allocations: 5.375 kB / 0.8248 GB, free: 11.73 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: 10.058122681919485] Failed to read output from testmodel.py, exit status != 0: 7.2136012483388186 7.228040642 6.671501575 Calling exit ...