Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",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.007214/0.007214, allocations: 101.2 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.001722/0.001722, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.009/1.009, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.89 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.472, allocations: 82.02 MB / 0.6752 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003671/0.4757, allocations: 1.776 MB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.4773, allocations: 0.6613 MB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.4775, allocations: 1.031 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.913e-05/0.4776, allocations: 7.875 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.4777, allocations: 18.89 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006977/0.4784, allocations: 170.3 kB / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.4787, allocations: 125.2 kB / 0.6779 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.4788, allocations: 50.2 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.479, allocations: 61.23 kB / 0.678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.4791, allocations: 52.2 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4792, allocations: 10.41 kB / 0.678 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.4793, allocations: 48.05 kB / 0.6781 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.4794, allocations: 25.48 kB / 0.6781 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.393e-05/0.4795, allocations: 57.92 kB / 0.6781 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.4797, allocations: 146.8 kB / 0.6783 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4797, allocations: 8 kB / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4798, allocations: 1.438 kB / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4798, allocations: 0 / 0.6783 GB, free: 14.72 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006939/0.4805, allocations: 438.6 kB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4805, allocations: 9.469 kB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.4806, allocations: 46.05 kB / 0.6788 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.4814, allocations: 111.4 kB / 0.6789 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.4816, allocations: 182.8 kB / 0.679 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.4817, allocations: 67.48 kB / 0.6791 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.4818, allocations: 5.031 kB / 0.6791 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.4823, allocations: 175.2 kB / 0.6793 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4823, allocations: 0 / 0.6793 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.4823, allocations: 1.062 kB / 0.6793 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4823, allocations: 5.312 kB / 0.6793 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005751/0.4829, allocations: 160.8 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4841, allocations: 476.9 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009497/0.4851, allocations: 215.8 kB / 0.6801 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.4854, allocations: 83.28 kB / 0.6802 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.4854, allocations: 4.984 kB / 0.6802 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.4855, allocations: 36.84 kB / 0.6802 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.4855, allocations: 0 / 0.6802 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0009791/0.4864, allocations: 263.3 kB / 0.6805 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.4865, allocations: 52.53 kB / 0.6805 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4866, allocations: 143 kB / 0.6807 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.4867, allocations: 27.17 kB / 0.6807 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.964e-05/0.4868, allocations: 116.5 kB / 0.6808 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.4868, allocations: 22.62 kB / 0.6808 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.4869, allocations: 24.95 kB / 0.6808 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.487, allocations: 324.2 kB / 0.6812 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.4873, allocations: 69.7 kB / 0.6812 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.4876, allocations: 98.39 kB / 0.6813 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005358/0.4881, allocations: 163.7 kB / 0.6815 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4881, allocations: 0 / 0.6815 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006337/0.4888, allocations: 203.3 kB / 0.6817 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.4888, allocations: 7.031 kB / 0.6817 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4888, allocations: 13.53 kB / 0.6817 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4888, allocations: 0 / 0.6817 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4891, allocations: 35.27 kB / 0.6817 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4891, allocations: 0.8125 kB / 0.6817 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.4893, allocations: 32.14 kB / 0.6817 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4893, allocations: 3.781 kB / 0.6817 GB, free: 11.86 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.0001047/0.4894, allocations: 118.3 kB / 0.6819 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.4895, allocations: 15.33 kB / 0.6819 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.4902, allocations: 204 kB / 0.6821 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.4902, allocations: 4 kB / 0.6821 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4902, allocations: 1.438 kB / 0.6821 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.4902, allocations: 0 / 0.6821 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4905, allocations: 238.1 kB / 0.6823 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.4905, allocations: 3.938 kB / 0.6823 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.4907, allocations: 35.67 kB / 0.6823 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4907, allocations: 0 / 0.6823 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.4907, allocations: 13.2 kB / 0.6824 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4907, allocations: 1.094 kB / 0.6824 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4908, allocations: 3.984 kB / 0.6824 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006678/0.4914, allocations: 283 kB / 0.6826 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.4915, allocations: 83.64 kB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.4915, allocations: 5.156 kB / 0.6827 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.4918, allocations: 36.42 kB / 0.6827 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.4919, allocations: 2.312 kB / 0.6828 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.4919, allocations: 7.484 kB / 0.6828 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.492, allocations: 110.6 kB / 0.6829 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.492, allocations: 0 / 0.6829 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002645/0.4922, allocations: 27.09 kB / 0.6829 GB, free: 10.88 MB / 0.5137 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 (6): * Single equations (assignments): 6 * 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.0009174/0.4932, allocations: 0.8234 MB / 0.6837 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005917/0.4938, allocations: 168.3 kB / 0.6839 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4938, allocations: 0 / 0.6839 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.4941, allocations: 83.3 kB / 0.6839 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.4944, allocations: 15.64 kB / 0.6839 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.4974, allocations: 1.834 MB / 0.6857 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4976, allocations: 0.6994 MB / 0.6864 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.617e-05/0.4977, allocations: 13.62 kB / 0.6864 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.4978, allocations: 31.55 kB / 0.6865 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4978, allocations: 0 / 0.6865 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.5179, allocations: 2.807 MB / 0.6892 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.474/7.992, allocations: 10 kB / 0.6892 GB, free: 6.207 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)