Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.006298/0.006298, allocations: 95.17 kB / 15.73 MB, free: 6.047 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.00134/0.00134, allocations: 206.5 kB / 16.68 MB, free: 5.973 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.086/1.086, allocations: 143.3 MB / 433.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 0.5954 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4833, allocations: 82.03 MB / 0.6755 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001549/0.4849, allocations: 0.5902 MB / 0.676 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003853/0.4853, allocations: 158.7 kB / 0.6762 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.4853, allocations: 0 / 0.6762 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.4853, allocations: 0 / 0.6762 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.443e-05/0.4854, allocations: 13.03 kB / 0.6762 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.4857, allocations: 42.2 kB / 0.6762 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.856e-05/0.4858, allocations: 14.91 kB / 0.6763 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.4858, allocations: 6.25 kB / 0.6763 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.115e-05/0.4858, allocations: 11.02 kB / 0.6763 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.4859, allocations: 6.594 kB / 0.6763 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.4859, allocations: 0.875 kB / 0.6763 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.452e-05/0.486, allocations: 35.86 kB / 0.6763 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.486, allocations: 9.109 kB / 0.6763 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.4861, allocations: 7.375 kB / 0.6763 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.977e-05/0.4862, allocations: 27.44 kB / 0.6764 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4862, allocations: 1.906 kB / 0.6764 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4862, allocations: 0 / 0.6764 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4862, allocations: 0 / 0.6764 GB, free: 0.5703 MB / 0.4981 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.0003304/0.4865, allocations: 339.7 kB / 0.6767 GB, free: 204 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.4866, allocations: 9.312 kB / 0.6767 GB, free: 204 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.493e-05/0.4866, allocations: 35.88 kB / 0.6767 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.4866, allocations: 6.312 kB / 0.6767 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.4868, allocations: 161.7 kB / 0.6769 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4868, allocations: 1.656 kB / 0.6769 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.4868, allocations: 2.469 kB / 0.6769 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4869, allocations: 41.53 kB / 0.6769 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.487, allocations: 11.88 kB / 0.6769 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.487, allocations: 5.125 kB / 0.6769 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.487, allocations: 0 / 0.6769 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.744e-05/0.487, allocations: 12.11 kB / 0.677 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.4872, allocations: 163.4 kB / 0.6771 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4873, allocations: 48.19 kB / 0.6772 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.4874, allocations: 21.22 kB / 0.6772 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.4875, allocations: 83.89 kB / 0.6773 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4876, allocations: 39.94 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.4876, allocations: 0 / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.001268/0.4888, allocations: 488 kB / 0.6778 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4889, allocations: 56.61 kB / 0.6778 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.489, allocations: 91.98 kB / 0.6779 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.489, allocations: 29.64 kB / 0.6779 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.489, allocations: 89.2 kB / 0.678 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4891, allocations: 22.91 kB / 0.678 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.4891, allocations: 22.89 kB / 0.6781 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4893, allocations: 316.9 kB / 0.6784 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.131e-05/0.4893, allocations: 14.02 kB / 0.6784 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.207e-05/0.4893, allocations: 8.5 kB / 0.6784 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.4894, allocations: 38.11 kB / 0.6784 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4894, allocations: 3.984 kB / 0.6784 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001159/0.4895, allocations: 79.75 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4895, allocations: 5.344 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4896, allocations: 0 / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4896, allocations: 1.25 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.4896, allocations: 9.906 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4897, allocations: 1.344 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.4897, allocations: 1.875 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4897, allocations: 1.344 kB / 0.6785 GB, free: 14.31 MB / 0.5137 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 (8): * Single equations (assignments): 8 * 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 8.54e-05/0.4898, allocations: 116.6 kB / 0.6786 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.4898, allocations: 13.17 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.49, allocations: 87.06 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.49, allocations: 1.469 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.49, allocations: 9.375 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.49, allocations: 0 / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4902, allocations: 156.8 kB / 0.6789 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4902, allocations: 1.188 kB / 0.6789 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.86e-05/0.4903, allocations: 18.55 kB / 0.6789 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.4903, allocations: 5.141 kB / 0.6789 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4903, allocations: 9.25 kB / 0.6789 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4903, allocations: 0 / 0.6789 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4903, allocations: 1.594 kB / 0.6789 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.4905, allocations: 113.9 kB / 0.679 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.4905, allocations: 86.03 kB / 0.6791 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.4906, allocations: 5.875 kB / 0.6791 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.39e-05/0.4906, allocations: 5.297 kB / 0.6791 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.4906, allocations: 2.312 kB / 0.6791 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.281e-06/0.4907, allocations: 6.219 kB / 0.6791 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.4907, allocations: 76.38 kB / 0.6792 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4907, allocations: 0 / 0.6792 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002171/0.4909, allocations: 35.55 kB / 0.6792 GB, free: 13.6 MB / 0.5137 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 () * Number of clocked 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 (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.0005965/0.4915, allocations: 0.6871 MB / 0.6799 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.4917, allocations: 36.92 kB / 0.6799 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4917, allocations: 1.031 kB / 0.6799 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.4917, allocations: 22.5 kB / 0.68 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.4919, allocations: 6.312 kB / 0.68 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.493, allocations: 1.208 MB / 0.6811 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4933, allocations: 0.6797 MB / 0.6818 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.378e-05/0.4933, allocations: 7.688 kB / 0.6818 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.4934, allocations: 15.88 kB / 0.6818 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4934, allocations: 0 / 0.6818 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02569/0.5191, allocations: 1.841 MB / 0.6836 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.341, allocations: 9.422 kB / 0.6836 GB, free: 10.09 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)