Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.765/1.765, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003399/0.0034, allocations: 183.6 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.312/2.312, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02524/0.02524, allocations: 95.98 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.2289/0.2289, allocations: 268.9 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 7.186e-05/7.197e-05, allocations: 8 kB / 0.6836 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7111, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.854, allocations: 108.1 MB / 0.87 GB, free: 432 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.8543, allocations: 79.89 kB / 0.87 GB, free: 352 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.564/9.418, allocations: 2.042 MB / 0.872 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.555e-06/9.418, allocations: 0.8438 kB / 0.872 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.177e-05/9.418, allocations: 0 / 0.872 GB, free: 14.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.05157/9.47, allocations: 339.3 kB / 0.8724 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 0.01663/9.486, allocations: 12.66 kB / 0.8724 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.04865/9.535, allocations: 30.56 kB / 0.8724 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/9.535, allocations: 8.719 kB / 0.8724 GB, free: 13.87 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/9.536, allocations: 163 kB / 0.8726 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/9.536, allocations: 8.484 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/9.536, allocations: 4.5 kB / 0.8726 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03204/9.568, allocations: 42.25 kB / 0.8726 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0164/9.585, allocations: 3.844 kB / 0.8726 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/9.585, allocations: 0 / 0.8726 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/9.585, allocations: 0 / 0.8726 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/9.585, allocations: 15.98 kB / 0.8726 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1015/9.687, allocations: 165.5 kB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/9.687, allocations: 46.53 kB / 0.8728 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/9.687, allocations: 20.98 kB / 0.8728 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/9.687, allocations: 82.34 kB / 0.8729 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/9.687, allocations: 30.56 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 5.36e-06/9.687, allocations: 5.281 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.1514/9.838, allocations: 467 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/9.839, allocations: 51.41 kB / 0.8735 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/9.839, allocations: 92.69 kB / 0.8735 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/9.839, allocations: 29.7 kB / 0.8736 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/9.839, allocations: 84.08 kB / 0.8737 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/9.839, allocations: 23.64 kB / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/9.839, allocations: 4 kB / 0.8737 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001219/9.839, allocations: 314.8 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/9.839, allocations: 8 kB / 0.874 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.957e-05/9.839, allocations: 16.12 kB / 0.874 GB, free: 12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/9.839, allocations: 15.98 kB / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/9.839, allocations: 0 / 0.874 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001389/9.839, allocations: 71.81 kB / 0.8741 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/9.839, allocations: 8 kB / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/9.839, allocations: 4 kB / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/9.839, allocations: 0 / 0.8741 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/9.839, allocations: 19.92 kB / 0.8741 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/9.839, allocations: 0 / 0.8741 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.556e-05/9.839, allocations: 0 / 0.8741 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/9.839, allocations: 8 kB / 0.8741 GB, free: 11.87 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.751e-05/9.839, allocations: 105 kB / 0.8742 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/9.84, allocations: 15.8 kB / 0.8742 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001824/9.84, allocations: 73.77 kB / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/9.84, allocations: 4 kB / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/9.84, allocations: 0 / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/9.84, allocations: 0 / 0.8743 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/9.84, allocations: 165.7 kB / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/9.84, allocations: 0 / 0.8745 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/9.84, allocations: 19.94 kB / 0.8745 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/9.84, allocations: 3.953 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/9.84, allocations: 3.984 kB / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/9.84, allocations: 0 / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/9.84, allocations: 0 / 0.8745 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/9.84, allocations: 114.9 kB / 0.8746 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/9.84, allocations: 85.02 kB / 0.8747 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/9.84, allocations: 7.984 kB / 0.8747 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.033e-05/9.84, allocations: 11.98 kB / 0.8747 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/9.84, allocations: 7.938 kB / 0.8747 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/9.84, allocations: 0 / 0.8747 GB, free: 11.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.76e-05/9.841, allocations: 83.28 kB / 0.8748 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.71e-07/9.841, allocations: 0 / 0.8748 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002624/9.841, allocations: 39.92 kB / 0.8748 GB, free: 11.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006447/9.841, allocations: 0.6867 MB / 0.8755 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.08261/9.924, allocations: 39.98 kB / 0.8755 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/9.924, allocations: 0 / 0.8755 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.317e-05/9.924, allocations: 23.94 kB / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/9.924, allocations: 7.891 kB / 0.8756 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06735/9.992, allocations: 150.2 kB / 0.8757 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/9.992, allocations: 0.6849 MB / 0.8764 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.284e-05/9.992, allocations: 8.172 kB / 0.8764 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/9.992, allocations: 11.44 kB / 0.8764 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/9.992, allocations: 0 / 0.8764 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 18.39/28.38, allocations: 1.512 MB / 0.8779 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002715/28.38, allocations: 192.6 kB / 0.8781 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/30.15, allocations: 4.062 kB / 0.8781 GB, free: 7.82 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)