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.0008077/0.0008077, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009398/0.0009398, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9588/0.9588, allocations: 230.6 MB / 256 MB, free: 9.59 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.8459/0.8459, allocations: 203.8 MB / 0.5042 GB, free: 10.47 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.001363/0.001363, allocations: 73.09 kB / 0.7182 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6139/0.6153, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002211/0.6175, allocations: 1.459 MB / 0.8192 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.6179, allocations: 188.3 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.572e-05/0.618, allocations: 0 / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.596e-05/0.618, allocations: 4.875 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.902e-05/0.6181, allocations: 3.938 kB / 0.8194 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.6184, allocations: 42.67 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.733e-05/0.6185, allocations: 25.14 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.6186, allocations: 1.266 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.6186, allocations: 15.02 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.6187, allocations: 17.66 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.6187, allocations: 3.719 kB / 0.8195 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-05/0.6188, allocations: 31.2 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.6188, allocations: 1.172 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.6188, allocations: 13.31 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.619, allocations: 38.78 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.619, allocations: 0 / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.619, allocations: 0 / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.196e-06/0.619, allocations: 3.469 kB / 0.8196 GB, free: 15.82 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.0004129/0.6194, allocations: 268.6 kB / 0.8198 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.6195, allocations: 18.28 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.6195, allocations: 31.41 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.534e-05/0.6195, allocations: 4.891 kB / 0.8199 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.625e-05/0.6196, allocations: 110.8 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.6196, allocations: 384 / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.6196, allocations: 2.656 kB / 0.82 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.6198, allocations: 51.98 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6198, allocations: 8.938 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.6198, allocations: 0 / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.6198, allocations: 4.562 kB / 0.8201 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.6199, allocations: 41.98 kB / 0.8201 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.6203, allocations: 213.4 kB / 0.8203 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.6204, allocations: 43.17 kB / 0.8204 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.6204, allocations: 23.25 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.184e-05/0.6205, allocations: 4.609 kB / 0.8204 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.6205, allocations: 34.31 kB / 0.8204 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.6205, allocations: 4 kB / 0.8204 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002555/0.6208, allocations: 84.28 kB / 0.8205 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.6208, allocations: 51.41 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.186e-05/0.6209, allocations: 103.6 kB / 0.8206 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.6209, allocations: 25.7 kB / 0.8207 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.6209, allocations: 88.39 kB / 0.8208 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.6209, allocations: 8.406 kB / 0.8208 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.621, allocations: 16.31 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003961/0.6214, allocations: 316.3 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.6214, allocations: 18.72 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.51e-05/0.6215, allocations: 15.48 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.6216, allocations: 39.19 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6216, allocations: 3.938 kB / 0.8212 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.6217, allocations: 71.23 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.6217, allocations: 4.172 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6217, allocations: 0 / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.6217, allocations: 0.5625 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.6218, allocations: 15.5 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6218, allocations: 0.6094 kB / 0.8212 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.535e-05/0.6219, allocations: 8.859 kB / 0.8213 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.6219, allocations: 0.7031 kB / 0.8213 GB, free: 14.25 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 6.21e-05/0.6219, allocations: 116.5 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.6219, allocations: 0.7969 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.6221, allocations: 78.38 kB / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6221, allocations: 0 / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6221, allocations: 0 / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6221, allocations: 0.5156 kB / 0.8214 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.6222, allocations: 134.3 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.6222, allocations: 0 / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.6223, allocations: 8.297 kB / 0.8216 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6223, allocations: 4.969 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.6223, allocations: 0.75 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6223, allocations: 3.938 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6223, allocations: 6.594 kB / 0.8216 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.6224, allocations: 163.5 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.6224, allocations: 2.516 kB / 0.8217 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.6225, allocations: 4.562 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.6225, allocations: 5.719 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.6225, allocations: 6.641 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.6225, allocations: 1.281 kB / 0.8218 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.6226, allocations: 85.75 kB / 0.8218 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6226, allocations: 0 / 0.8218 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001708/0.6227, allocations: 8.438 kB / 0.8219 GB, free: 13.68 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.0004401/0.6232, allocations: 0.7071 MB / 0.8225 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.6233, allocations: 40.67 kB / 0.8226 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6233, allocations: 0 / 0.8226 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.533e-05/0.6234, allocations: 20.06 kB / 0.8226 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.6237, allocations: 7.281 kB / 0.8226 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.6241, allocations: 148 kB / 0.8228 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.6241, allocations: 58.8 kB / 0.8228 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.558e-05/0.6241, allocations: 12 kB / 0.8228 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.6242, allocations: 12.08 kB / 0.8228 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.6242, allocations: 0 / 0.8228 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.6424, allocations: 1.969 MB / 0.8248 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.536/7.178, allocations: 9.422 kB / 0.8248 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.275564298033714] Failed to read output from testmodel.py, exit status != 0: 7.255296442192048 7.265830486 6.644503379 Calling exit ...