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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.001197/0.001197, allocations: 100 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.028/1.028, allocations: 143.3 MB / 434.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1825/0.1828, allocations: 83.41 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001796/0.1847, allocations: 1.445 MB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.1856, allocations: 0.5857 MB / 0.5993 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/0.1856, allocations: 0 / 0.5993 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.145e-05/0.1857, allocations: 11.88 kB / 0.5993 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.973e-05/0.1857, allocations: 15.95 kB / 0.5994 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005214/0.1863, allocations: 143.1 kB / 0.5995 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1864, allocations: 71.84 kB / 0.5996 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1865, allocations: 41.27 kB / 0.5996 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.1867, allocations: 55.77 kB / 0.5997 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.1867, allocations: 31.84 kB / 0.5997 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1868, allocations: 4 kB / 0.5997 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.906e-05/0.1869, allocations: 35.97 kB / 0.5997 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.1869, allocations: 19.91 kB / 0.5997 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1869, allocations: 37.64 kB / 0.5998 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1871, allocations: 100 kB / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1871, allocations: 0 / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1871, allocations: 0 / 0.5999 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1871, allocations: 0 / 0.5999 GB, free: 5.188 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.0005441/0.1877, allocations: 415 kB / 0.6003 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1877, allocations: 8.031 kB / 0.6003 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.114e-05/0.1878, allocations: 42.55 kB / 0.6003 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/0.1886, allocations: 151.6 kB / 0.6005 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.1888, allocations: 184.9 kB / 0.6006 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.28e-05/0.1889, allocations: 63.39 kB / 0.6007 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1889, allocations: 8 kB / 0.6007 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.1894, allocations: 190.8 kB / 0.6009 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1895, allocations: 0 / 0.6009 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.303e-05/0.1895, allocations: 4 kB / 0.6009 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1895, allocations: 7.953 kB / 0.6009 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.1902, allocations: 199.8 kB / 0.6011 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1913, allocations: 0.4938 MB / 0.6016 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1924, allocations: 266.3 kB / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1924, allocations: 3.984 kB / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.1925, allocations: 42.67 kB / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1925, allocations: 0 / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001079/0.1935, allocations: 317.5 kB / 0.6022 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1936, allocations: 51.41 kB / 0.6022 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.1937, allocations: 141.8 kB / 0.6024 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1937, allocations: 29.64 kB / 0.6024 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.1938, allocations: 116.1 kB / 0.6025 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1938, allocations: 15.75 kB / 0.6025 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.1939, allocations: 4 kB / 0.6025 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.194, allocations: 322.8 kB / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.1943, allocations: 87.92 kB / 0.6029 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1946, allocations: 118.5 kB / 0.603 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/0.195, allocations: 87.94 kB / 0.6031 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.195, allocations: 0 / 0.6031 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007214/0.1957, allocations: 241.4 kB / 0.6033 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1957, allocations: 4 kB / 0.6033 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1958, allocations: 320 / 0.6033 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1958, allocations: 4 kB / 0.6033 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.1961, allocations: 51.88 kB / 0.6034 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1961, allocations: 4 kB / 0.6034 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.1963, allocations: 39.83 kB / 0.6034 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1963, allocations: 0 / 0.6034 GB, free: 1.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.1964, allocations: 124.2 kB / 0.6036 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1965, allocations: 7.906 kB / 0.6036 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.1972, allocations: 246.1 kB / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1973, allocations: 0 / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1973, allocations: 0 / 0.6038 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1973, allocations: 3.938 kB / 0.6038 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.1975, allocations: 234.3 kB / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1976, allocations: 0 / 0.604 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.1978, allocations: 39.95 kB / 0.6041 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1978, allocations: 3.984 kB / 0.6041 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1978, allocations: 4 kB / 0.6041 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1978, allocations: 4 kB / 0.6041 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1979, allocations: 0 / 0.6041 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007311/0.1986, allocations: 327.2 kB / 0.6044 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.1986, allocations: 85.02 kB / 0.6045 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.1987, allocations: 0 / 0.6045 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.199, allocations: 43.95 kB / 0.6045 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1991, allocations: 11.98 kB / 0.6045 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1991, allocations: 7.984 kB / 0.6045 GB, free: 76 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3224/0.5215, allocations: 99.72 kB / 0.6046 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.92e-07/0.5216, allocations: 0.5312 kB / 0.6046 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004447/0.522, allocations: 25.94 kB / 0.6046 GB, free: 41.06 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001138/0.5232, allocations: 0.85 MB / 0.6055 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006891/0.5239, allocations: 198.9 kB / 0.6057 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5239, allocations: 1 kB / 0.6057 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.5242, allocations: 108.2 kB / 0.6058 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.5244, allocations: 6.203 kB / 0.6058 GB, free: 40.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008729/0.5253, allocations: 0.816 MB / 0.6066 GB, free: 39.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.5255, allocations: 0.7036 MB / 0.6073 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.319e-05/0.5256, allocations: 19.05 kB / 0.6073 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.964e-05/0.5256, allocations: 28.77 kB / 0.6073 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5256, allocations: 0 / 0.6073 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.5381, allocations: 2.397 MB / 0.6096 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/0.5383, allocations: 183.4 kB / 0.6098 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.208, allocations: 0 / 0.6098 GB, free: 38.66 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/linux/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) Environment - environmentSimulation: