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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007353/0.007353, allocations: 99.11 kB / 15.73 MB, free: 6.039 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.001805/0.001805, allocations: 195.2 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002574/0.002574, allocations: 283.2 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5074 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002649/0.002649, allocations: 103 kB / 0.6943 GB, free: 3.57 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4768, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00315/0.48, allocations: 1.448 MB / 0.7828 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0005019/0.4806, allocations: 196.8 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.4806, allocations: 0 / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.4807, allocations: 6.094 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.4807, allocations: 4 kB / 0.783 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.481, allocations: 38.2 kB / 0.783 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.377e-05/0.4811, allocations: 20.12 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.4812, allocations: 9.422 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.4813, allocations: 7.531 kB / 0.783 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.436e-05/0.4813, allocations: 11.31 kB / 0.783 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.4813, allocations: 1.438 kB / 0.783 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.4814, allocations: 36.64 kB / 0.7831 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.4815, allocations: 13.19 kB / 0.7831 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.4815, allocations: 9.172 kB / 0.7831 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.4817, allocations: 47.3 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.4817, allocations: 0 / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4817, allocations: 0.7188 kB / 0.7831 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4817, allocations: 0 / 0.7831 GB, free: 12.62 MB / 0.5606 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.000485/0.4822, allocations: 345.8 kB / 0.7835 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4822, allocations: 9.406 kB / 0.7835 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.4823, allocations: 31.5 kB / 0.7835 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.4823, allocations: 7.281 kB / 0.7835 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.4824, allocations: 166.9 kB / 0.7837 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4825, allocations: 5.344 kB / 0.7837 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.4825, allocations: 1.438 kB / 0.7837 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.4826, allocations: 49.59 kB / 0.7837 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4827, allocations: 3.938 kB / 0.7837 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.4827, allocations: 1.031 kB / 0.7837 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4827, allocations: 0 / 0.7837 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.4829, allocations: 41.86 kB / 0.7838 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.4832, allocations: 251.4 kB / 0.784 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.4833, allocations: 41.02 kB / 0.7841 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.55e-05/0.4834, allocations: 20.23 kB / 0.7841 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.085e-05/0.4835, allocations: 80.41 kB / 0.7842 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.4836, allocations: 40.47 kB / 0.7842 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4836, allocations: 0 / 0.7842 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003772/0.4839, allocations: 80.2 kB / 0.7843 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.484, allocations: 53.12 kB / 0.7843 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.099e-05/0.4841, allocations: 101.7 kB / 0.7844 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.4841, allocations: 30.98 kB / 0.7844 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.4842, allocations: 90.09 kB / 0.7845 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.4842, allocations: 5.719 kB / 0.7845 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.4842, allocations: 11.94 kB / 0.7845 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.4844, allocations: 317.4 kB / 0.7849 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.454e-05/0.4845, allocations: 14.61 kB / 0.7849 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.4845, allocations: 19.39 kB / 0.7849 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4847, allocations: 44.12 kB / 0.7849 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4847, allocations: 5.406 kB / 0.7849 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.4849, allocations: 67.41 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.485, allocations: 6.25 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.485, allocations: 1.406 kB / 0.785 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.485, allocations: 4.594 kB / 0.785 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.4851, allocations: 9.266 kB / 0.785 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4851, allocations: 0 / 0.785 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.4852, allocations: 6.328 kB / 0.785 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.4852, allocations: 1.281 kB / 0.785 GB, free: 10.77 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0001098/0.4853, allocations: 119.7 kB / 0.7851 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4853, allocations: 5.406 kB / 0.7851 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.4856, allocations: 84.47 kB / 0.7852 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.4856, allocations: 4.641 kB / 0.7852 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4856, allocations: 1.656 kB / 0.7852 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4856, allocations: 0 / 0.7852 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.4858, allocations: 159.5 kB / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4858, allocations: 1.609 kB / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.4859, allocations: 8.797 kB / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.4859, allocations: 0 / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.4859, allocations: 1.953 kB / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4859, allocations: 4.031 kB / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4859, allocations: 0.6562 kB / 0.7854 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.4862, allocations: 171.3 kB / 0.7856 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.4863, allocations: 79.08 kB / 0.7856 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.4863, allocations: 0.6562 kB / 0.7856 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.4864, allocations: 6.781 kB / 0.7856 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4864, allocations: 6.922 kB / 0.7857 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.237e-06/0.4864, allocations: 0 / 0.7857 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.4865, allocations: 85.08 kB / 0.7857 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4865, allocations: 0 / 0.7857 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00023/0.4867, allocations: 9.75 kB / 0.7857 GB, free: 10.07 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.0006525/0.4874, allocations: 0.7063 MB / 0.7864 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002351/0.4876, allocations: 39.25 kB / 0.7865 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4876, allocations: 1.125 kB / 0.7865 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.4877, allocations: 19.38 kB / 0.7865 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.4881, allocations: 7.453 kB / 0.7865 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004282/0.4885, allocations: 133 kB / 0.7866 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.4888, allocations: 0.6755 MB / 0.7873 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.369e-05/0.4888, allocations: 1.219 kB / 0.7873 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.009e-05/0.4889, allocations: 13.61 kB / 0.7873 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.4889, allocations: 0 / 0.7873 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02336/0.5123, allocations: 1.459 MB / 0.7887 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.515, allocations: 16.64 kB / 0.7887 GB, free: 8.129 MB / 0.5606 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothExponential.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)