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.00123/0.00123, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001512/0.001512, allocations: 213 kB / 23.04 MB, free: 5.074 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.002604/0.002604, allocations: 276 kB / 313.5 MB, free: 2.93 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.22/1.22, allocations: 180.6 MB / 0.5377 GB, free: 12.99 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothMin,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothMin",fmuType="cs",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.002846/0.002846, allocations: 103.3 kB / 0.7403 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2046, allocations: 95.39 MB / 0.8335 GB, free: 8.621 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothMin): time 0.003048/0.2076, allocations: 1.497 MB / 0.835 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0004858/0.2081, allocations: 144.4 kB / 0.8351 GB, free: 6.969 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.2081, allocations: 0 / 0.8351 GB, free: 6.969 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 5.743e-05/0.2082, allocations: 3.938 kB / 0.8351 GB, free: 6.965 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 7.948e-05/0.2083, allocations: 7.938 kB / 0.8351 GB, free: 6.957 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.2086, allocations: 35.89 kB / 0.8351 GB, free: 6.922 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.2087, allocations: 35.92 kB / 0.8352 GB, free: 6.887 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.2088, allocations: 20.2 kB / 0.8352 GB, free: 6.867 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.2089, allocations: 15.98 kB / 0.8352 GB, free: 6.852 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.209, allocations: 27.84 kB / 0.8352 GB, free: 6.824 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.209, allocations: 4 kB / 0.8352 GB, free: 6.82 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2091, allocations: 23.98 kB / 0.8353 GB, free: 6.797 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.2091, allocations: 15.98 kB / 0.8353 GB, free: 6.781 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.2092, allocations: 15.88 kB / 0.8353 GB, free: 6.766 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.2094, allocations: 67.78 kB / 0.8354 GB, free: 6.699 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2094, allocations: 3.938 kB / 0.8354 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2094, allocations: 0 / 0.8354 GB, free: 6.695 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2094, allocations: 7.875 kB / 0.8354 GB, free: 6.688 MB / 0.5763 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.0005763/0.2099, allocations: 286.2 kB / 0.8356 GB, free: 6.375 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.21, allocations: 13.34 kB / 0.8357 GB, free: 6.363 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.488e-05/0.21, allocations: 192 / 0.8357 GB, free: 6.363 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.2101, allocations: 42.73 kB / 0.8357 GB, free: 6.312 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.2113, allocations: 208.5 kB / 0.8359 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2115, allocations: 114.5 kB / 0.836 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2115, allocations: 384 / 0.836 GB, free: 5.973 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2115, allocations: 4.375 kB / 0.836 GB, free: 5.969 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.2121, allocations: 197.8 kB / 0.8362 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2121, allocations: 0 / 0.8362 GB, free: 5.77 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.2122, allocations: 3.984 kB / 0.8362 GB, free: 5.766 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2122, allocations: 7.938 kB / 0.8362 GB, free: 5.758 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008922/0.2131, allocations: 279.6 kB / 0.8365 GB, free: 5.484 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2141, allocations: 412.2 kB / 0.8369 GB, free: 5.035 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.2153, allocations: 290.1 kB / 0.8372 GB, free: 4.742 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.2157, allocations: 100.8 kB / 0.8372 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.2158, allocations: 0 / 0.8372 GB, free: 4.641 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.2158, allocations: 38.56 kB / 0.8373 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.2158, allocations: 0 / 0.8373 GB, free: 4.594 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.001284/0.2171, allocations: 309.3 kB / 0.8376 GB, free: 4.285 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.2172, allocations: 51.41 kB / 0.8376 GB, free: 4.223 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.2173, allocations: 121.8 kB / 0.8377 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.2173, allocations: 25.7 kB / 0.8378 GB, free: 4.062 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.2174, allocations: 92.14 kB / 0.8379 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2175, allocations: 15.89 kB / 0.8379 GB, free: 3.953 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.2175, allocations: 13.72 kB / 0.8379 GB, free: 3.934 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001794/0.2177, allocations: 322.8 kB / 0.8382 GB, free: 3.609 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.2181, allocations: 91.88 kB / 0.8383 GB, free: 3.52 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.2184, allocations: 103.8 kB / 0.8384 GB, free: 3.418 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006699/0.2191, allocations: 168.6 kB / 0.8385 GB, free: 3.25 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2191, allocations: 0 / 0.8385 GB, free: 3.25 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007962/0.2199, allocations: 213.8 kB / 0.8387 GB, free: 3.035 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.2199, allocations: 4 kB / 0.8387 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2199, allocations: 0 / 0.8387 GB, free: 3.031 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2199, allocations: 3.938 kB / 0.8388 GB, free: 3.027 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.2202, allocations: 39.88 kB / 0.8388 GB, free: 2.988 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2202, allocations: 4 kB / 0.8388 GB, free: 2.984 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2204, allocations: 39.84 kB / 0.8388 GB, free: 2.945 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.2205, allocations: 3.938 kB / 0.8388 GB, free: 2.941 MB / 0.5763 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.0001338/0.2206, allocations: 114.5 kB / 0.8389 GB, free: 2.82 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/0.2206, allocations: 4 kB / 0.8389 GB, free: 2.816 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.2207, allocations: 8 kB / 0.839 GB, free: 2.801 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2207, allocations: 8 kB / 0.839 GB, free: 2.793 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2207, allocations: 0 / 0.839 GB, free: 2.793 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2207, allocations: 0 / 0.839 GB, free: 2.793 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.221, allocations: 180.6 kB / 0.8391 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.221, allocations: 0 / 0.8391 GB, free: 2.574 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.2212, allocations: 35.94 kB / 0.8392 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2212, allocations: 0 / 0.8392 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.2213, allocations: 0 / 0.8392 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2213, allocations: 0 / 0.8392 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2213, allocations: 0 / 0.8392 GB, free: 2.539 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000895/0.2222, allocations: 329.1 kB / 0.8395 GB, free: 2.203 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 2.416e-05/0.2222, allocations: 11.95 kB / 0.8395 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.2222, allocations: 8 kB / 0.8395 GB, free: 2.184 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.2224, allocations: 23.95 kB / 0.8395 GB, free: 2.16 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.2225, allocations: 4 kB / 0.8395 GB, free: 2.156 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.2225, allocations: 3.984 kB / 0.8395 GB, free: 2.152 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 9.056e-05/0.2226, allocations: 99.2 kB / 0.8396 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2226, allocations: 0 / 0.8396 GB, free: 2.055 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002396/0.2228, allocations: 16 kB / 0.8396 GB, free: 2.039 MB / 0.5763 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.00115/0.224, allocations: 0.8294 MB / 0.8405 GB, free: 1.184 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0007743/0.2247, allocations: 203.7 kB / 0.8406 GB, free: 0.9844 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2247, allocations: 0 / 0.8406 GB, free: 0.9844 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.2251, allocations: 95.88 kB / 0.8407 GB, free: 0.8906 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.2254, allocations: 10.69 kB / 0.8408 GB, free: 0.8828 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003853/0.2292, allocations: 1.851 MB / 0.8426 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.2296, allocations: 0.6924 MB / 0.8432 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.386e-05/0.2297, allocations: 19.98 kB / 0.8433 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.247e-05/0.2297, allocations: 15.44 kB / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.2297, allocations: 0 / 0.8433 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.2523, allocations: 2.121 MB / 0.8453 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.14, allocations: 8.672 kB / 0.8453 GB, free: 12.22 MB / 0.5919 GB " [Timeout remaining time 649] (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.422368993982673] Failed to read output from testmodel.py, exit status != 0: 11.292665983026382 11.308934643 11.096399362 Calling exit ...