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.0008459/0.0008459, allocations: 109.3 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.001344/0.001344, allocations: 213.7 kB / 22.25 MB, free: 3.699 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.936/0.936, allocations: 230.6 MB / 256 MB, free: 9.82 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.8144/0.8144, 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.000895/0.000895, allocations: 66.59 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5374, allocations: 102 MB / 0.8179 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothMin): time 0.002291/0.5397, allocations: 1.494 MB / 0.8193 GB, free: 240 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004138/0.5401, allocations: 153.5 kB / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.188e-05/0.5401, allocations: 0 / 0.8195 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.5402, allocations: 8.484 kB / 0.8195 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.347e-05/0.5403, allocations: 8.094 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.5406, allocations: 35.81 kB / 0.8195 GB, free: 104 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.5407, allocations: 38.58 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.5409, allocations: 16.59 kB / 0.8196 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.5409, allocations: 19.33 kB / 0.8196 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.887e-05/0.541, allocations: 19.62 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.541, allocations: 5.344 kB / 0.8196 GB, free: 64 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.719e-05/0.5411, allocations: 35.41 kB / 0.8196 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.5411, allocations: 13.94 kB / 0.8197 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.902e-05/0.5411, allocations: 22.34 kB / 0.8197 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001414/0.5413, allocations: 58.81 kB / 0.8197 GB, free: 4 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5413, allocations: 4 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5413, allocations: 1.812 kB / 0.8197 GB, free: 0 / 0.6042 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5413, allocations: 0 / 0.8197 GB, free: 0 / 0.6042 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.0003829/0.5417, allocations: 289.8 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5417, allocations: 8.281 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.5417, allocations: 37.23 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007991/0.5425, allocations: 217.1 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.5426, allocations: 107.9 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.5427, allocations: 4 kB / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.5427, allocations: 384 / 0.8204 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.5431, allocations: 197.9 kB / 0.8206 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5431, allocations: 7.875 kB / 0.8206 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.5431, allocations: 0 / 0.8206 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5431, allocations: 3.828 kB / 0.8206 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000545/0.5437, allocations: 280 kB / 0.8208 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.5445, allocations: 429.1 kB / 0.8213 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007345/0.5452, allocations: 283.6 kB / 0.8215 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.5454, allocations: 104 kB / 0.8216 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.5454, allocations: 2 kB / 0.8216 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5454, allocations: 35.22 kB / 0.8217 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.5454, allocations: 0 / 0.8217 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0007164/0.5461, allocations: 310.6 kB / 0.822 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.5462, allocations: 52.66 kB / 0.822 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.5463, allocations: 121.8 kB / 0.8221 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.5463, allocations: 27.64 kB / 0.8221 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.5463, allocations: 87.59 kB / 0.8222 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.5463, allocations: 11.27 kB / 0.8222 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.5464, allocations: 19.58 kB / 0.8223 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/0.5465, allocations: 325.1 kB / 0.8226 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.5467, allocations: 96.12 kB / 0.8227 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.5469, allocations: 91.95 kB / 0.8227 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.5473, allocations: 177.8 kB / 0.8229 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5473, allocations: 0 / 0.8229 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000466/0.5478, allocations: 214 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.5478, allocations: 2.656 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.5478, allocations: 2.953 kB / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5478, allocations: 0 / 0.8231 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.548, allocations: 36.45 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.548, allocations: 4.594 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-05/0.5481, allocations: 31.95 kB / 0.8232 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.5481, allocations: 2.172 kB / 0.8232 GB, free: 14.14 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.377e-05/0.5481, allocations: 123.1 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.806e-05/0.5482, allocations: 6.766 kB / 0.8233 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/0.5482, allocations: 12.2 kB / 0.8233 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5482, allocations: 0 / 0.8233 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5482, allocations: 1.531 kB / 0.8233 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.5482, allocations: 0.5156 kB / 0.8233 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.5484, allocations: 187.2 kB / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5484, allocations: 1.891 kB / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.5485, allocations: 32.42 kB / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5485, allocations: 0 / 0.8235 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5485, allocations: 5.938 kB / 0.8236 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.5485, allocations: 2 kB / 0.8236 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5485, allocations: 0 / 0.8236 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.549, allocations: 319.3 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.257e-05/0.549, allocations: 3.172 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.549, allocations: 0.75 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.5491, allocations: 31.42 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.5491, allocations: 2.906 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.5491, allocations: 2.047 kB / 0.8239 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.009e-05/0.5492, allocations: 101.2 kB / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5492, allocations: 0 / 0.824 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001683/0.5494, allocations: 20.66 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.0006618/0.55, allocations: 0.8322 MB / 0.8248 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.5505, allocations: 199.8 kB / 0.825 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5505, allocations: 1.312 kB / 0.825 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.5507, allocations: 98.72 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.0001931/0.5509, allocations: 9.844 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.002171/0.5531, allocations: 1.835 MB / 0.8269 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.5535, allocations: 0.6868 MB / 0.8276 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.5536, allocations: 24.08 kB / 0.8276 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.5537, allocations: 16.02 kB / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/0.5537, allocations: 0 / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/0.5687, allocations: 2.09 MB / 0.8297 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.506/7.075, allocations: 9.125 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.021549244876951] Failed to read output from testmodel.py, exit status != 0: 7.152961899060756 7.163955534 6.620786622 Calling exit ...