Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001772/0.001772, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002162/0.002162, allocations: 215.7 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.613/1.613, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002535/0.002535, allocations: 297.3 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.263/1.263, allocations: 180.6 MB / 0.5369 GB, free: 14.61 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002922/0.002922, allocations: 98.25 kB / 0.7395 GB, free: 27.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2164, allocations: 95.39 MB / 0.8327 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.002932/0.2194, allocations: 1.493 MB / 0.8341 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.2198, allocations: 128.5 kB / 0.8342 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.2198, allocations: 0 / 0.8342 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.521e-05/0.2199, allocations: 7.938 kB / 0.8342 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.22, allocations: 11.92 kB / 0.8342 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.2202, allocations: 23.92 kB / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2203, allocations: 47.83 kB / 0.8343 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2204, allocations: 16.27 kB / 0.8343 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.2205, allocations: 15.94 kB / 0.8343 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.2205, allocations: 19.92 kB / 0.8344 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2206, allocations: 4 kB / 0.8344 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.8e-05/0.2206, allocations: 27.97 kB / 0.8344 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2207, allocations: 11.94 kB / 0.8344 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.2207, allocations: 31.91 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.2209, allocations: 55.81 kB / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2209, allocations: 0 / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2209, allocations: 0 / 0.8345 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.2209, allocations: 3.938 kB / 0.8345 GB, free: 6.426 MB / 0.5762 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.0004607/0.2213, allocations: 290 kB / 0.8348 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2214, allocations: 13.34 kB / 0.8348 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2214, allocations: 34.75 kB / 0.8348 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.2226, allocations: 220.5 kB / 0.835 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2227, allocations: 106.5 kB / 0.8351 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2227, allocations: 4.375 kB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.2227, allocations: 384 / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.2233, allocations: 198 kB / 0.8353 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.2233, allocations: 3.938 kB / 0.8353 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2233, allocations: 3.938 kB / 0.8353 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2233, allocations: 0 / 0.8353 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/0.2242, allocations: 283.5 kB / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.2252, allocations: 404.2 kB / 0.836 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.2263, allocations: 282.2 kB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/0.2267, allocations: 104.7 kB / 0.8364 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.2267, allocations: 0 / 0.8364 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2268, allocations: 34.56 kB / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.2268, allocations: 0 / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.001203/0.228, allocations: 305.3 kB / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.228, allocations: 51.41 kB / 0.8367 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2281, allocations: 117.8 kB / 0.8368 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.2282, allocations: 33.69 kB / 0.8369 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.2282, allocations: 88.14 kB / 0.837 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.2282, allocations: 11.84 kB / 0.837 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.2283, allocations: 21.7 kB / 0.837 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2284, allocations: 318.8 kB / 0.8373 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.2288, allocations: 95.88 kB / 0.8374 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2292, allocations: 95.88 kB / 0.8375 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.2298, allocations: 168.6 kB / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2298, allocations: 0 / 0.8376 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007533/0.2306, allocations: 217.7 kB / 0.8378 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.2306, allocations: 4 kB / 0.8379 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2306, allocations: 4 kB / 0.8379 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2306, allocations: 0 / 0.8379 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.2309, allocations: 35.89 kB / 0.8379 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2309, allocations: 4 kB / 0.8379 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2311, allocations: 39.83 kB / 0.8379 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2311, allocations: 4 kB / 0.8379 GB, free: 2.703 MB / 0.5762 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 0.0001008/0.2312, allocations: 118.4 kB / 0.838 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.2312, allocations: 3.984 kB / 0.8381 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.2313, allocations: 11.98 kB / 0.8381 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2313, allocations: 384 / 0.8381 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.2313, allocations: 8 kB / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2313, allocations: 0 / 0.8381 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.2315, allocations: 168.7 kB / 0.8382 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2315, allocations: 3.938 kB / 0.8382 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.2318, allocations: 39.94 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2318, allocations: 0 / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2318, allocations: 0 / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2318, allocations: 4 kB / 0.8383 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2318, allocations: 0 / 0.8383 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008412/0.2326, allocations: 320.8 kB / 0.8386 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.2326, allocations: 7.938 kB / 0.8386 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.2327, allocations: 0 / 0.8386 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2329, allocations: 31.95 kB / 0.8386 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.2329, allocations: 4 kB / 0.8386 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2329, allocations: 8 kB / 0.8386 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.529e-05/0.233, allocations: 91.27 kB / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.233, allocations: 0 / 0.8387 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002433/0.2333, allocations: 15.94 kB / 0.8387 GB, free: 1.809 MB / 0.5762 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.001147/0.2344, allocations: 0.8334 MB / 0.8395 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007853/0.2352, allocations: 199.7 kB / 0.8397 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2352, allocations: 0 / 0.8397 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.2356, allocations: 99.88 kB / 0.8398 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2358, allocations: 9.312 kB / 0.8398 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.2396, allocations: 1.843 MB / 0.8416 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.2397, allocations: 75.27 kB / 0.8417 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.219e-05/0.2398, allocations: 20 kB / 0.8417 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.2398, allocations: 15.42 kB / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of SimCode: time 8.52e-07/0.2398, allocations: 0 / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.2722, allocations: 2.567 MB / 0.8443 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.49, allocations: 4.062 kB / 0.8443 GB, free: 12.16 MB / 0.5919 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.974717718083411] Failed to read output from testmodel.py, exit status != 0: 11.59217496495694 11.609909607 11.385720318 Calling exit ...