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.005396/0.005396, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001164/0.001164, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 292.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9642/0.9642, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 99.83 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4825/0.4843, allocations: 86.97 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.00264/0.4869, allocations: 1.433 MB / 0.7673 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004481/0.4874, allocations: 196.2 kB / 0.7675 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.4875, allocations: 0 / 0.7675 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.4875, allocations: 0 / 0.7675 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.4876, allocations: 7.938 kB / 0.7675 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.4879, allocations: 43.88 kB / 0.7675 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.843e-05/0.4879, allocations: 23.92 kB / 0.7676 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.488, allocations: 4 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.507e-05/0.4881, allocations: 15.92 kB / 0.7676 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.4881, allocations: 8 kB / 0.7676 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4882, allocations: 3.984 kB / 0.7676 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-05/0.4882, allocations: 35.95 kB / 0.7676 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.4883, allocations: 3.938 kB / 0.7676 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.4883, allocations: 12 kB / 0.7676 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.4884, allocations: 47.66 kB / 0.7677 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4884, allocations: 0 / 0.7677 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4885, allocations: 0 / 0.7677 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.4885, allocations: 0 / 0.7677 GB, free: 2.047 MB / 0.5294 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.0004414/0.4889, allocations: 344.7 kB / 0.768 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.489, allocations: 15.91 kB / 0.768 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.489, allocations: 34.75 kB / 0.7681 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.489, allocations: 4.938 kB / 0.7681 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4891, allocations: 168.3 kB / 0.7682 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.4892, allocations: 4.312 kB / 0.7682 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.4892, allocations: 4.375 kB / 0.7682 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4894, allocations: 50.23 kB / 0.7683 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.4894, allocations: 3.938 kB / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.4894, allocations: 0 / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4894, allocations: 0 / 0.7683 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.4896, allocations: 35.95 kB / 0.7683 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.4899, allocations: 248.9 kB / 0.7686 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.49, allocations: 42.53 kB / 0.7686 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.4901, allocations: 20.91 kB / 0.7686 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.4902, allocations: 81.11 kB / 0.7687 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.4902, allocations: 34.56 kB / 0.7687 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4902, allocations: 0 / 0.7687 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003481/0.4906, allocations: 85.58 kB / 0.7688 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.4906, allocations: 51.41 kB / 0.7689 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.4907, allocations: 109.8 kB / 0.769 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4907, allocations: 25.7 kB / 0.769 GB, free: 500 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.4908, allocations: 96.16 kB / 0.7691 GB, free: 400 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.4908, allocations: 4 kB / 0.7691 GB, free: 396 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.4908, allocations: 13.7 kB / 0.7691 GB, free: 376 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.4909, allocations: 310.8 kB / 0.7694 GB, free: 56 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.187e-05/0.491, allocations: 19.98 kB / 0.7694 GB, free: 36 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.4911, allocations: 15.98 kB / 0.7694 GB, free: 20 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.4913, allocations: 44.88 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4913, allocations: 3.938 kB / 0.7695 GB, free: 15.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.4915, allocations: 69.56 kB / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4915, allocations: 7.984 kB / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4915, allocations: 0 / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4915, allocations: 0 / 0.7696 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.4916, allocations: 12.03 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.4916, allocations: 0 / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.883e-05/0.4917, allocations: 7.984 kB / 0.7696 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.4917, allocations: 0 / 0.7696 GB, free: 15.87 MB / 0.545 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 6.787e-05/0.4918, allocations: 117.8 kB / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4918, allocations: 0 / 0.7697 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.4921, allocations: 84.64 kB / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4921, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4921, allocations: 0 / 0.7698 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4921, allocations: 3.938 kB / 0.7698 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.4922, allocations: 157.6 kB / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4922, allocations: 0 / 0.7699 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.4923, allocations: 15.98 kB / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4923, allocations: 0 / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.4923, allocations: 0 / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4923, allocations: 0 / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4923, allocations: 0 / 0.7699 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.4926, allocations: 167.4 kB / 0.7701 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.4926, allocations: 81.09 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.4926, allocations: 4 kB / 0.7702 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.4927, allocations: 15.92 kB / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4927, allocations: 0 / 0.7702 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.4928, allocations: 4.031 kB / 0.7702 GB, free: 15.13 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.4928, allocations: 87.52 kB / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4928, allocations: 0 / 0.7703 GB, free: 15.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002277/0.493, allocations: 12 kB / 0.7703 GB, free: 15.04 MB / 0.545 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.000543/0.4936, allocations: 0.7046 MB / 0.771 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4938, allocations: 43.89 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4938, allocations: 0 / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.4939, allocations: 15.98 kB / 0.771 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.4942, allocations: 4 kB / 0.771 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.4947, allocations: 139.3 kB / 0.7712 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4949, allocations: 0.6729 MB / 0.7718 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.495, allocations: 4 kB / 0.7718 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.495, allocations: 15.42 kB / 0.7719 GB, free: 13.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.495, allocations: 0 / 0.7719 GB, free: 13.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.5139, allocations: 1.459 MB / 0.7733 GB, free: 12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.437/7.951, allocations: 8.625 kB / 0.7733 GB, free: 11.99 MB / 0.545 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)