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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 0.9741/0.9741, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 67.89 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 82.03 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003254/0.1814, allocations: 1.772 MB / 0.5961 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.1828, allocations: 0.6554 MB / 0.5968 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1829, allocations: 4 kB / 0.5968 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.875e-05/0.183, allocations: 11.86 kB / 0.5968 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.1831, allocations: 15.8 kB / 0.5968 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006769/0.1838, allocations: 170.9 kB / 0.5969 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.184, allocations: 123.6 kB / 0.5971 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1842, allocations: 53.02 kB / 0.5971 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1844, allocations: 59.83 kB / 0.5972 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.1845, allocations: 47.77 kB / 0.5972 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1845, allocations: 12 kB / 0.5972 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1847, allocations: 43.97 kB / 0.5973 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.1847, allocations: 27.91 kB / 0.5973 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.1848, allocations: 51.72 kB / 0.5973 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.1851, allocations: 155.7 kB / 0.5975 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1851, allocations: 4 kB / 0.5975 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1851, allocations: 0 / 0.5975 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.1851, allocations: 0 / 0.5975 GB, free: 6.277 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.0006346/0.1857, allocations: 439 kB / 0.5979 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1858, allocations: 8.031 kB / 0.5979 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.1858, allocations: 42.73 kB / 0.598 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008677/0.1867, allocations: 116.6 kB / 0.5981 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1869, allocations: 184 kB / 0.5983 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.187, allocations: 63.95 kB / 0.5983 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.187, allocations: 8.375 kB / 0.5983 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005234/0.1875, allocations: 169.5 kB / 0.5985 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1876, allocations: 4 kB / 0.5985 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1876, allocations: 4 kB / 0.5985 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1876, allocations: 4 kB / 0.5985 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.1882, allocations: 163.8 kB / 0.5987 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.1895, allocations: 485.7 kB / 0.5991 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1905, allocations: 214.3 kB / 0.5993 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.1909, allocations: 84.91 kB / 0.5994 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1909, allocations: 3.984 kB / 0.5994 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1909, allocations: 34.56 kB / 0.5994 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.191, allocations: 0 / 0.5994 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001057/0.192, allocations: 265.4 kB / 0.5997 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.1921, allocations: 55.39 kB / 0.5997 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1922, allocations: 144.1 kB / 0.5999 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.1922, allocations: 25.7 kB / 0.5999 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.1923, allocations: 120.1 kB / 0.6 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1923, allocations: 19.66 kB / 0.6 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.1924, allocations: 25.7 kB / 0.6001 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1925, allocations: 322.8 kB / 0.6004 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1929, allocations: 67.92 kB / 0.6004 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.1932, allocations: 98.48 kB / 0.6005 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/0.1938, allocations: 162.4 kB / 0.6007 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1938, allocations: 256 / 0.6007 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006768/0.1945, allocations: 205.4 kB / 0.6009 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1945, allocations: 8.062 kB / 0.6009 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1945, allocations: 3.938 kB / 0.6009 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1945, allocations: 0 / 0.6009 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.1948, allocations: 39.95 kB / 0.6009 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1948, allocations: 0 / 0.6009 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.195, allocations: 31.95 kB / 0.601 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1951, allocations: 0 / 0.601 GB, free: 2.469 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.0001091/0.1952, allocations: 125.8 kB / 0.6011 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.1952, allocations: 7.906 kB / 0.6011 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007286/0.196, allocations: 206.2 kB / 0.6013 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.196, allocations: 0 / 0.6013 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.196, allocations: 0 / 0.6013 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.196, allocations: 3.984 kB / 0.6013 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.1962, allocations: 238.3 kB / 0.6015 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1962, allocations: 3.938 kB / 0.6015 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.1965, allocations: 31.95 kB / 0.6016 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1965, allocations: 0 / 0.6016 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1965, allocations: 11.92 kB / 0.6016 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1965, allocations: 7.938 kB / 0.6016 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1965, allocations: 0 / 0.6016 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.1972, allocations: 283.3 kB / 0.6018 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.1973, allocations: 85.02 kB / 0.6019 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.1973, allocations: 7.938 kB / 0.6019 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002998/0.1976, allocations: 28.14 kB / 0.602 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.1977, allocations: 7.984 kB / 0.602 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1977, allocations: 11.94 kB / 0.602 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.333e-05/0.1978, allocations: 107.2 kB / 0.6021 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1978, allocations: 0 / 0.6021 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002577/0.198, allocations: 20 kB / 0.6021 GB, free: 1.203 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.0009823/0.199, allocations: 0.8215 MB / 0.6029 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006526/0.1997, allocations: 167.8 kB / 0.6031 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1997, allocations: 0 / 0.6031 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.2, allocations: 84.03 kB / 0.6031 GB, free: 112 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.2003, allocations: 13.09 kB / 0.6031 GB, free: 104 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2592/0.4596, allocations: 1.812 MB / 0.6049 GB, free: 43.01 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.4598, allocations: 0.6995 MB / 0.6056 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.4599, allocations: 14.55 kB / 0.6056 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.46, allocations: 31.42 kB / 0.6056 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of SimCode: time 9.12e-07/0.46, allocations: 0 / 0.6056 GB, free: 42.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.4781, allocations: 2.729 MB / 0.6083 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.902, allocations: 12.14 kB / 0.6083 GB, free: 42 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)