Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential",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 0.815/0.815, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001188/0.001189, allocations: 184.2 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 221.3 MB / 441.4 MB, free: 4.617 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.0009586/0.0009585, allocations: 100.5 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 278.4 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-05/4.681e-05, allocations: 4 kB / 0.6835 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5524/0.5525, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.6915, allocations: 108.7 MB / 0.8705 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.6918, allocations: 71.95 kB / 0.8705 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003968/0.6958, allocations: 1.359 MB / 0.8719 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6958, allocations: 0 / 0.8719 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.6958, allocations: 0 / 0.8719 GB, free: 14.49 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004051/0.6963, allocations: 351.9 kB / 0.8722 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.6963, allocations: 8.031 kB / 0.8722 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.786e-05/0.6964, allocations: 30.56 kB / 0.8722 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.176e-05/0.6964, allocations: 7.938 kB / 0.8722 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.6966, allocations: 166.9 kB / 0.8724 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.6966, allocations: 7.953 kB / 0.8724 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.6966, allocations: 4 kB / 0.8724 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.6968, allocations: 53.61 kB / 0.8725 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.6968, allocations: 0 / 0.8725 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.6968, allocations: 0 / 0.8725 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6968, allocations: 0 / 0.8725 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.6969, allocations: 12 kB / 0.8725 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.6973, allocations: 264.9 kB / 0.8727 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.6974, allocations: 30.58 kB / 0.8728 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.6974, allocations: 8.922 kB / 0.8728 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001198/0.6976, allocations: 89.03 kB / 0.8728 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.6976, allocations: 34.56 kB / 0.8729 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.6976, allocations: 0 / 0.8729 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001715/0.6978, allocations: 37.7 kB / 0.8729 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6979, allocations: 51.41 kB / 0.873 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.698, allocations: 103 kB / 0.8731 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.698, allocations: 25.7 kB / 0.8731 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.698, allocations: 84.12 kB / 0.8732 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.6981, allocations: 3.906 kB / 0.8732 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.6981, allocations: 0 / 0.8732 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6982, allocations: 326.7 kB / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.6982, allocations: 0 / 0.8735 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.594e-05/0.6983, allocations: 8 kB / 0.8735 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.042e-05/0.6983, allocations: 12 kB / 0.8735 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6983, allocations: 0 / 0.8735 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.761e-05/0.6984, allocations: 45.69 kB / 0.8735 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.6984, allocations: 4 kB / 0.8736 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.6984, allocations: 0 / 0.8736 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.6984, allocations: 0 / 0.8736 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.46e-05/0.6985, allocations: 11.98 kB / 0.8736 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.6985, allocations: 4 kB / 0.8736 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.945e-05/0.6986, allocations: 8.031 kB / 0.8736 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.6986, allocations: 0 / 0.8736 GB, free: 12.5 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 (2): * Single equations (assignments): 2 * 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.904e-05/0.6987, allocations: 108.9 kB / 0.8737 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.6987, allocations: 11.89 kB / 0.8737 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.6989, allocations: 48.52 kB / 0.8737 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6989, allocations: 7.984 kB / 0.8737 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6989, allocations: 0 / 0.8737 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6989, allocations: 4.031 kB / 0.8737 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.6991, allocations: 157.6 kB / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6991, allocations: 3.938 kB / 0.8739 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.6992, allocations: 11.98 kB / 0.8739 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6992, allocations: 0 / 0.8739 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.6992, allocations: 4 kB / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6992, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6992, allocations: 0 / 0.8739 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001287/0.6993, allocations: 147.5 kB / 0.8741 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.6994, allocations: 81.06 kB / 0.8741 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.6994, allocations: 256 / 0.8741 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.6995, allocations: 15.98 kB / 0.8741 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.6995, allocations: 0 / 0.8741 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.6995, allocations: 0 / 0.8741 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.855e-05/0.6996, allocations: 83.28 kB / 0.8742 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6996, allocations: 32 / 0.8742 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002038/0.6998, allocations: 19.94 kB / 0.8742 GB, free: 11.72 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004695/0.7003, allocations: 0.6955 MB / 0.8749 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.132e-05/0.7004, allocations: 19.88 kB / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7004, allocations: 0 / 0.8749 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.7004, allocations: 12.09 kB / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.7006, allocations: 4 kB / 0.875 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.701, allocations: 102.6 kB / 0.8751 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.7012, allocations: 0.677 MB / 0.8757 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.7013, allocations: 0 / 0.8757 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.7013, allocations: 15.42 kB / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of SimCode: time 2.91e-07/0.7013, allocations: 0 / 0.8757 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01225/0.7136, allocations: 1.162 MB / 0.8769 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.7138, allocations: 164.6 kB / 0.877 GB, free: 8.867 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.339, allocations: 0 / 0.877 GB, free: 8.867 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)