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.001428/0.001428, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001668/0.001669, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.488/1.488, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.065/1.065, allocations: 143 MB / 433.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 0.5138 GB, free: 11.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1813, allocations: 82.04 MB / 0.5939 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003312/0.1846, allocations: 1.83 MB / 0.5957 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1858, allocations: 0.6437 MB / 0.5963 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.1859, allocations: 4 kB / 0.5963 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.83e-05/0.1859, allocations: 7.922 kB / 0.5963 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.389e-05/0.186, allocations: 7.875 kB / 0.5963 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.1866, allocations: 163.8 kB / 0.5965 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1868, allocations: 123.7 kB / 0.5966 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1869, allocations: 45.11 kB / 0.5967 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.187, allocations: 59.77 kB / 0.5967 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.1871, allocations: 51.75 kB / 0.5968 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1872, allocations: 12 kB / 0.5968 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1873, allocations: 43.97 kB / 0.5968 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.1873, allocations: 27.91 kB / 0.5968 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.1874, allocations: 55.72 kB / 0.5969 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.1876, allocations: 151.8 kB / 0.597 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1876, allocations: 3.938 kB / 0.597 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1876, allocations: 3.938 kB / 0.597 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1876, allocations: 4 kB / 0.597 GB, free: 6.625 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006057/0.1882, allocations: 435 kB / 0.5975 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1883, allocations: 8.031 kB / 0.5975 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1883, allocations: 38.75 kB / 0.5975 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.1892, allocations: 112.7 kB / 0.5976 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.1893, allocations: 196 kB / 0.5978 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.1894, allocations: 59.97 kB / 0.5979 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1894, allocations: 8.375 kB / 0.5979 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.1899, allocations: 173.4 kB / 0.598 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.19, allocations: 4 kB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.19, allocations: 0 / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.19, allocations: 4 kB / 0.598 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005754/0.1906, allocations: 155.8 kB / 0.5982 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.1917, allocations: 485.7 kB / 0.5987 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009498/0.1926, allocations: 226.3 kB / 0.5989 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.1929, allocations: 80.91 kB / 0.5989 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1929, allocations: 0 / 0.5989 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.1931, allocations: 42.5 kB / 0.599 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1931, allocations: 0 / 0.599 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009816/0.194, allocations: 261.5 kB / 0.5992 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1941, allocations: 55.41 kB / 0.5993 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.1942, allocations: 141.7 kB / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1943, allocations: 25.7 kB / 0.5994 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.845e-05/0.1943, allocations: 112.2 kB / 0.5996 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.1944, allocations: 31.62 kB / 0.5996 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.1944, allocations: 25.7 kB / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1946, allocations: 318.8 kB / 0.5999 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.1949, allocations: 71.91 kB / 0.6 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.1952, allocations: 98.44 kB / 0.6001 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005289/0.1957, allocations: 162.4 kB / 0.6002 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1957, allocations: 0 / 0.6002 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006143/0.1963, allocations: 205.4 kB / 0.6004 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1964, allocations: 4 kB / 0.6004 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1964, allocations: 7.938 kB / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1964, allocations: 0 / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.1967, allocations: 43.88 kB / 0.6005 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1967, allocations: 0 / 0.6005 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1969, allocations: 19.97 kB / 0.6005 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.1969, allocations: 4 kB / 0.6005 GB, free: 2.82 MB / 0.4981 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.0001016/0.197, allocations: 121.8 kB / 0.6006 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.197, allocations: 11.89 kB / 0.6006 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006806/0.1977, allocations: 210.1 kB / 0.6008 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1977, allocations: 0 / 0.6008 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1978, allocations: 4.375 kB / 0.6008 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1978, allocations: 0 / 0.6008 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.198, allocations: 230.3 kB / 0.6011 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.198, allocations: 4 kB / 0.6011 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.1983, allocations: 43.88 kB / 0.6011 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1983, allocations: 0 / 0.6011 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.1983, allocations: 3.938 kB / 0.6011 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1983, allocations: 4 kB / 0.6011 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1983, allocations: 0 / 0.6011 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.199, allocations: 279.3 kB / 0.6014 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.199, allocations: 89.02 kB / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.1991, allocations: 3.938 kB / 0.6015 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.1993, allocations: 31.95 kB / 0.6015 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1994, allocations: 11.92 kB / 0.6015 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.1994, allocations: 7.984 kB / 0.6015 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.1995, allocations: 105.7 kB / 0.6016 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.724e-06/0.1995, allocations: 0 / 0.6016 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002482/0.1998, allocations: 27.94 kB / 0.6016 GB, free: 1.555 MB / 0.4981 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.0009657/0.2007, allocations: 0.8177 MB / 0.6024 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.2014, allocations: 163.8 kB / 0.6026 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2014, allocations: 0 / 0.6026 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.2017, allocations: 91.97 kB / 0.6027 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.202, allocations: 13 kB / 0.6027 GB, free: 464 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2547/0.4567, allocations: 1.841 MB / 0.6045 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4569, allocations: 0.7048 MB / 0.6052 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.457, allocations: 12.92 kB / 0.6052 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.844e-05/0.4571, allocations: 35.06 kB / 0.6052 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of SimCode: time 7.12e-07/0.4571, allocations: 0 / 0.6052 GB, free: 42.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.4699, allocations: 2.601 MB / 0.6078 GB, free: 42.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000152/0.47, allocations: 200.5 kB / 0.608 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/2.244, allocations: 3.938 kB / 0.608 GB, free: 42.1 MB / 0.4981 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)