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.001131/0.001131, 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.0009678/0.0009678, 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.9508/0.9508, allocations: 230.6 MB / 256 MB, free: 9.605 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.7953/0.7953, allocations: 203.8 MB / 0.5042 GB, free: 10.48 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.001429/0.001429, allocations: 67.09 kB / 0.7182 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6057, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.00276/0.6084, allocations: 1.481 MB / 0.8192 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000445/0.6089, allocations: 148.2 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.871e-05/0.6089, allocations: 0 / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.061e-05/0.609, allocations: 0.8438 kB / 0.8194 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.6091, allocations: 4.875 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.6093, allocations: 32.44 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.6094, allocations: 46.7 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.6096, allocations: 15.44 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.6096, allocations: 19.42 kB / 0.8195 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.072e-05/0.6097, allocations: 18.31 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.6097, allocations: 2.25 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.6098, allocations: 38.88 kB / 0.8196 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.6098, allocations: 13.7 kB / 0.8196 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.6099, allocations: 16.25 kB / 0.8196 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.6101, allocations: 61.48 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6101, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.378e-06/0.6101, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.6101, allocations: 4.812 kB / 0.8196 GB, free: 15.8 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.0004704/0.6106, allocations: 289.6 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.6106, allocations: 10.2 kB / 0.8199 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.893e-05/0.6107, allocations: 32.83 kB / 0.82 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/0.6115, allocations: 216.8 kB / 0.8202 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.6116, allocations: 110.9 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.6116, allocations: 8.594 kB / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.6116, allocations: 384 / 0.8203 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.612, allocations: 201.5 kB / 0.8205 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.6121, allocations: 3.938 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6121, allocations: 0.7031 kB / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6121, allocations: 0 / 0.8205 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.6126, allocations: 281.6 kB / 0.8207 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007274/0.6133, allocations: 404.5 kB / 0.8211 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.614, allocations: 289.6 kB / 0.8214 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.6142, allocations: 105 kB / 0.8215 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.6143, allocations: 1.984 kB / 0.8215 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6143, allocations: 31.88 kB / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.6143, allocations: 0 / 0.8215 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007547/0.615, allocations: 315.7 kB / 0.8218 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.6151, allocations: 51.41 kB / 0.8219 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.6151, allocations: 124.1 kB / 0.822 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.6152, allocations: 25.7 kB / 0.822 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.6152, allocations: 87.27 kB / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.6152, allocations: 18.67 kB / 0.8221 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.6153, allocations: 16.31 kB / 0.8222 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.6153, allocations: 326.6 kB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.6156, allocations: 92.03 kB / 0.8226 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.6158, allocations: 96.41 kB / 0.8226 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004275/0.6162, allocations: 169 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6162, allocations: 1.188 kB / 0.8228 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000452/0.6167, allocations: 218.8 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.6167, allocations: 6.125 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6167, allocations: 0.75 kB / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6167, allocations: 0 / 0.823 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.6169, allocations: 34.55 kB / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6169, allocations: 0 / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.947e-05/0.617, allocations: 27.53 kB / 0.8231 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.617, allocations: 6.281 kB / 0.8231 GB, free: 13.95 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.837e-05/0.6171, allocations: 120.8 kB / 0.8232 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.6171, allocations: 6.031 kB / 0.8232 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.6171, allocations: 15.8 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6171, allocations: 0.5625 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.6171, allocations: 1.125 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.6171, allocations: 0.5156 kB / 0.8232 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.6173, allocations: 165.5 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6173, allocations: 0.8906 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.6174, allocations: 36.56 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.6174, allocations: 2.141 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.6174, allocations: 0.6562 kB / 0.8234 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.6174, allocations: 5.25 kB / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6174, allocations: 0 / 0.8234 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004874/0.6179, allocations: 320.7 kB / 0.8237 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.359e-05/0.6179, allocations: 2.078 kB / 0.8237 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.618, allocations: 1.891 kB / 0.8237 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6181, allocations: 35.03 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.42e-05/0.6181, allocations: 3.438 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.6181, allocations: 2.125 kB / 0.8238 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.6181, allocations: 93.67 kB / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6181, allocations: 0 / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001613/0.6183, allocations: 23.91 kB / 0.8239 GB, free: 13.36 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.0006729/0.619, allocations: 0.8367 MB / 0.8247 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000476/0.6195, allocations: 197.5 kB / 0.8249 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6195, allocations: 0 / 0.8249 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.6197, allocations: 95.84 kB / 0.825 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/0.6199, allocations: 16.56 kB / 0.825 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.6221, allocations: 1.836 MB / 0.8268 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.6221, allocations: 76.06 kB / 0.8269 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.858e-05/0.6222, allocations: 15.92 kB / 0.8269 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.6223, allocations: 24.11 kB / 0.8269 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.6223, allocations: 0 / 0.8269 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.6436, allocations: 2.536 MB / 0.8294 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.489/7.133, allocations: 13.47 kB / 0.8294 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.236085683107376] Failed to read output from testmodel.py, exit status != 0: 7.210371294058859 7.220287246 6.608430453 Calling exit ...