Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.608/2.608, allocations: 409.4 MB / 0.684 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 16 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7901/0.7905, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001797/0.7923, allocations: 1.165 MB / 0.9823 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003763/0.7927, allocations: 138.8 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.7928, allocations: 0 / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.7928, allocations: 7.938 kB / 0.9824 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.7929, allocations: 4 kB / 0.9824 GB, free: 4.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.7931, allocations: 15.92 kB / 0.9824 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.731e-05/0.7932, allocations: 39.91 kB / 0.9825 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.7934, allocations: 27.91 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.7934, allocations: 15.92 kB / 0.9825 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.7935, allocations: 15.92 kB / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.7935, allocations: 0 / 0.9825 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.648e-05/0.7936, allocations: 31.97 kB / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.7936, allocations: 0 / 0.9826 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.7936, allocations: 37.64 kB / 0.9826 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.7938, allocations: 43.92 kB / 0.9826 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7938, allocations: 0 / 0.9826 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7938, allocations: 0 / 0.9826 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7938, allocations: 0 / 0.9826 GB, free: 4.695 MB / 0.7325 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.0004923/0.7943, allocations: 361.5 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.7943, allocations: 12.03 kB / 0.983 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.7944, allocations: 30.56 kB / 0.983 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.7954, allocations: 247.5 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.7955, allocations: 163.1 kB / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.7956, allocations: 0 / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.7956, allocations: 7.938 kB / 0.9834 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005351/0.7961, allocations: 213.4 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7961, allocations: 0 / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.7962, allocations: 4 kB / 0.9836 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.7962, allocations: 0 / 0.9836 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.797, allocations: 319.6 kB / 0.9839 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000869/0.7978, allocations: 473.2 kB / 0.9844 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.7989, allocations: 338.3 kB / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003207/0.7992, allocations: 120.7 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.7992, allocations: 3.938 kB / 0.9848 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.7993, allocations: 38.5 kB / 0.9849 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.7993, allocations: 0 / 0.9849 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.00109/0.8004, allocations: 369.2 kB / 0.9852 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.8004, allocations: 51.41 kB / 0.9853 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.8005, allocations: 122 kB / 0.9854 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.8006, allocations: 29.7 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.8006, allocations: 88.14 kB / 0.9855 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.8007, allocations: 7.812 kB / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.8007, allocations: 0 / 0.9855 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.8008, allocations: 326.8 kB / 0.9858 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.8012, allocations: 111.9 kB / 0.9859 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.8015, allocations: 115.9 kB / 0.986 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.8018, allocations: 99.89 kB / 0.9861 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8018, allocations: 4 kB / 0.9861 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007007/0.8025, allocations: 253.4 kB / 0.9864 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8025, allocations: 4 kB / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8026, allocations: 0 / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8026, allocations: 0 / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.8028, allocations: 43.94 kB / 0.9864 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8028, allocations: 0 / 0.9864 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/0.803, allocations: 43.95 kB / 0.9865 GB, free: 0.5469 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.803, allocations: 3.984 kB / 0.9865 GB, free: 0.543 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.8032, allocations: 121.8 kB / 0.9866 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.8032, allocations: 11.91 kB / 0.9866 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.972e-05/0.8032, allocations: 15.91 kB / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8033, allocations: 336 / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8033, allocations: 0 / 0.9866 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.8033, allocations: 3.984 kB / 0.9866 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.8035, allocations: 217.3 kB / 0.9868 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8035, allocations: 3.984 kB / 0.9868 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.8037, allocations: 39.95 kB / 0.9869 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.8038, allocations: 4 kB / 0.9869 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.8038, allocations: 4.312 kB / 0.9869 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.8038, allocations: 0 / 0.9869 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8038, allocations: 3.984 kB / 0.9869 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007508/0.8045, allocations: 355.1 kB / 0.9872 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.8046, allocations: 85.05 kB / 0.9873 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.8046, allocations: 4 kB / 0.9873 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.8049, allocations: 35.95 kB / 0.9873 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.8049, allocations: 7.984 kB / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.8049, allocations: 0 / 0.9873 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.39e-05/0.805, allocations: 95.27 kB / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.805, allocations: 0 / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002421/0.8053, allocations: 16 kB / 0.9874 GB, free: 15.44 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.8065, allocations: 0.8762 MB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008193/0.8073, allocations: 235.7 kB / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8073, allocations: 0 / 0.9885 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.8077, allocations: 115.9 kB / 0.9886 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.8079, allocations: 8 kB / 0.9886 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.8103, allocations: 0.9071 MB / 0.9895 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.8106, allocations: 0.6926 MB / 0.9902 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.8107, allocations: 15.98 kB / 0.9902 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.8108, allocations: 15.44 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of SimCode: time 2.244e-06/0.8108, allocations: 4 kB / 0.9902 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01359/0.8244, allocations: 1.654 MB / 0.9918 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.8246, allocations: 178.5 kB / 0.992 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.738, allocations: 0 / 0.992 GB, free: 10.71 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat does not exist to compare? outputFormat=mat