Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.3 MB / 405.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 175.3 kB / 498.1 MB, free: 5.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.79/1.79, allocations: 223.1 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 101.7 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 14.34 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.323, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.5189, allocations: 149.4 MB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.5193, allocations: 79.94 kB / 1.369 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00369/0.523, allocations: 1.152 MB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.465e-06/0.5231, allocations: 0 / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.271e-05/0.5231, allocations: 0 / 1.37 GB, free: 11.3 MB / 0.8698 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.0004889/0.5236, allocations: 367.7 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.5236, allocations: 12.03 kB / 1.37 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.5237, allocations: 38.56 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008602/0.5246, allocations: 187.6 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.5247, allocations: 167 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.5248, allocations: 7.938 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.5248, allocations: 4 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.5254, allocations: 209.5 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5254, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.5255, allocations: 3.984 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.5255, allocations: 4 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008429/0.5263, allocations: 315.6 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.5274, allocations: 457.1 kB / 1.372 GB, free: 9.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.5285, allocations: 338.2 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.5286, allocations: 3.938 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.5286, allocations: 46.58 kB / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.5286, allocations: 0 / 1.372 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.001232/0.5298, allocations: 373.2 kB / 1.372 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.5299, allocations: 55.41 kB / 1.373 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.53, allocations: 109.1 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.53, allocations: 25.7 kB / 1.373 GB, free: 8.434 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.5301, allocations: 96.06 kB / 1.373 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.5301, allocations: 7.906 kB / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.5302, allocations: 0 / 1.373 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.5303, allocations: 314.8 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.5307, allocations: 115.9 kB / 1.373 GB, free: 7.898 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.531, allocations: 115.9 kB / 1.373 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.5313, allocations: 99.89 kB / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5314, allocations: 0 / 1.373 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007555/0.5321, allocations: 261.3 kB / 1.374 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.5321, allocations: 8 kB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5322, allocations: 3.953 kB / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5322, allocations: 0 / 1.374 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.5324, allocations: 43.95 kB / 1.374 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5324, allocations: 3.984 kB / 1.374 GB, free: 7.367 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.5326, allocations: 31.95 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5327, allocations: 4 kB / 1.374 GB, free: 7.332 MB / 0.8698 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.0001395/0.5328, allocations: 117.8 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.5328, allocations: 3.906 kB / 1.374 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.5329, allocations: 15.89 kB / 1.374 GB, free: 7.184 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5329, allocations: 3.953 kB / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.5329, allocations: 0 / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.5329, allocations: 0 / 1.374 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.5332, allocations: 201.6 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5332, allocations: 0 / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.5334, allocations: 47.95 kB / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5334, allocations: 0 / 1.374 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.5334, allocations: 7.922 kB / 1.374 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5335, allocations: 7.953 kB / 1.374 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5335, allocations: 3.938 kB / 1.374 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/0.5343, allocations: 343.3 kB / 1.374 GB, free: 6.516 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.078e-05/0.5343, allocations: 81.02 kB / 1.375 GB, free: 6.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.5343, allocations: 4 kB / 1.375 GB, free: 6.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.5346, allocations: 35.95 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5346, allocations: 11.94 kB / 1.375 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.5346, allocations: 0 / 1.375 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.573e-05/0.5347, allocations: 99.58 kB / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5347, allocations: 0 / 1.375 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002261/0.535, allocations: 12 kB / 1.375 GB, free: 6.258 MB / 0.8698 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.001185/0.5362, allocations: 0.8838 MB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007727/0.5369, allocations: 232.2 kB / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.537, allocations: 0 / 1.376 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.5373, allocations: 119.9 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.5375, allocations: 11.88 kB / 1.376 GB, free: 4.988 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.5399, allocations: 0.9057 MB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5403, allocations: 0.6889 MB / 1.377 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.5404, allocations: 27.98 kB / 1.377 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.925e-05/0.5404, allocations: 15.42 kB / 1.377 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of SimCode: time 2.154e-06/0.5405, allocations: 0 / 1.377 GB, free: 3.281 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.5529, allocations: 1.631 MB / 1.379 GB, free: 1.762 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.5531, allocations: 173.2 kB / 1.379 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.528/2.081, allocations: 0 / 1.379 GB, free: 1.516 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Math.Examples.SmoothMin_res.mat does not exist to compare? outputFormat=mat