Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.0008593/0.0008593, 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.001016/0.001016, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9978/0.9978, allocations: 230.6 MB / 256 MB, free: 9.812 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.8474/0.8474, allocations: 203.8 MB / 0.5042 GB, free: 10.74 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.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",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.00143/0.00143, allocations: 62.81 kB / 0.7182 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5394/0.5408, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002227/0.5431, allocations: 1.492 MB / 0.8193 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.5434, allocations: 154.5 kB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.5435, allocations: 3.938 kB / 0.8195 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.467e-05/0.5435, allocations: 6.438 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.838e-05/0.5436, allocations: 4.641 kB / 0.8195 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.5438, allocations: 29.44 kB / 0.8195 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.5439, allocations: 40.2 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.5441, allocations: 18.89 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.061e-05/0.5441, allocations: 21.22 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.5442, allocations: 20.41 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.5442, allocations: 3.656 kB / 0.8196 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.5443, allocations: 38.7 kB / 0.8197 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.5443, allocations: 9.812 kB / 0.8197 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.5443, allocations: 19.06 kB / 0.8197 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.5445, allocations: 65.33 kB / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5445, allocations: 0 / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.923e-06/0.5445, allocations: 0 / 0.8197 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5445, allocations: 0 / 0.8197 GB, free: 15.99 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004118/0.5449, allocations: 292.4 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.545, allocations: 9.812 kB / 0.82 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.34e-05/0.545, allocations: 36.19 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006445/0.5457, allocations: 212.8 kB / 0.8203 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.891e-05/0.5457, allocations: 111.4 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5458, allocations: 8 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.5458, allocations: 1.688 kB / 0.8204 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.5461, allocations: 197.1 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5462, allocations: 5.531 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.5462, allocations: 0.5625 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5462, allocations: 0.7812 kB / 0.8206 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.5467, allocations: 288 kB / 0.8209 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.5473, allocations: 421.8 kB / 0.8213 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005872/0.5479, allocations: 289.1 kB / 0.8215 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.5481, allocations: 99.34 kB / 0.8216 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.5481, allocations: 0 / 0.8216 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.5481, allocations: 33.73 kB / 0.8217 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.5481, allocations: 0 / 0.8217 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007134/0.5488, allocations: 313.4 kB / 0.822 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.5489, allocations: 53.05 kB / 0.822 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.5489, allocations: 122.5 kB / 0.8221 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.549, allocations: 25.7 kB / 0.8221 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.549, allocations: 88.55 kB / 0.8222 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.549, allocations: 9.625 kB / 0.8222 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.5491, allocations: 20.02 kB / 0.8223 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.5492, allocations: 319 kB / 0.8226 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.5494, allocations: 99.78 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.5496, allocations: 92.58 kB / 0.8227 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.5499, allocations: 177.3 kB / 0.8229 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5499, allocations: 0 / 0.8229 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004226/0.5503, allocations: 212.1 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.5504, allocations: 5.5 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.5504, allocations: 0 / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5504, allocations: 6.641 kB / 0.8231 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.5505, allocations: 35.5 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.5505, allocations: 1.281 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.488e-05/0.5506, allocations: 27.16 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.5506, allocations: 2.375 kB / 0.8232 GB, free: 14.13 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 (3): * Single equations (assignments): 3 * 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 7.818e-05/0.5507, allocations: 124.3 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.5507, allocations: 11.38 kB / 0.8233 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.5508, allocations: 6.312 kB / 0.8233 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5508, allocations: 1.312 kB / 0.8233 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5508, allocations: 3.938 kB / 0.8233 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5508, allocations: 0.5156 kB / 0.8233 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.551, allocations: 180.1 kB / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.551, allocations: 5.531 kB / 0.8235 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.5511, allocations: 40.36 kB / 0.8235 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5511, allocations: 5.375 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5511, allocations: 1.875 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.5511, allocations: 0 / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5511, allocations: 0.7031 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.5516, allocations: 315.7 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.5516, allocations: 2.703 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.5516, allocations: 1.344 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.5517, allocations: 27.38 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.5518, allocations: 3.297 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.5518, allocations: 0.6562 kB / 0.8239 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.343e-05/0.5518, allocations: 98.45 kB / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5518, allocations: 4 kB / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001642/0.552, allocations: 20.56 kB / 0.824 GB, free: 13.54 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 (3): * Single equations (assignments): 3 * 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.0007532/0.5528, allocations: 0.836 MB / 0.8248 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.5533, allocations: 191.8 kB / 0.825 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5533, allocations: 4 kB / 0.825 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.5535, allocations: 103.2 kB / 0.8251 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.5537, allocations: 3.547 kB / 0.8251 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.5563, allocations: 1.843 MB / 0.8269 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.5565, allocations: 0.6855 MB / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.17e-05/0.5566, allocations: 25 kB / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.5566, allocations: 16.11 kB / 0.8276 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.5566, allocations: 0 / 0.8276 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.5724, allocations: 2.086 MB / 0.8297 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.367/6.94, allocations: 3.469 kB / 0.8297 GB, free: 10.34 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin_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_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.137756435899064] Failed to read output from testmodel.py, exit status != 0: 7.018978213891387 7.030835713 6.483707217 Calling exit ...