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.0008539/0.0008538, allocations: 92 kB / 15.06 MB, free: 1.098 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.001113/0.001113, allocations: 172.7 kB / 15.95 MB, free: 208 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.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.031/1.031, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1918, allocations: 83.41 MB / 0.5975 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002075/0.1939, allocations: 1.453 MB / 0.599 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.195, allocations: 0.6052 MB / 0.5995 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.106e-05/0.1951, allocations: 0 / 0.5995 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/0.1952, allocations: 7.922 kB / 0.5996 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.93e-05/0.1953, allocations: 15.88 kB / 0.5996 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.1959, allocations: 147.2 kB / 0.5997 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.1961, allocations: 103.7 kB / 0.5998 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.1962, allocations: 41.28 kB / 0.5998 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1964, allocations: 47.84 kB / 0.5999 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.542e-05/0.1965, allocations: 35.78 kB / 0.5999 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1965, allocations: 4 kB / 0.5999 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1966, allocations: 43.94 kB / 0.6 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.1967, allocations: 23.92 kB / 0.6 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.734e-05/0.1967, allocations: 41.64 kB / 0.6 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1969, allocations: 96.02 kB / 0.6001 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1969, allocations: 0 / 0.6001 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1969, allocations: 0 / 0.6001 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1969, allocations: 4 kB / 0.6001 GB, free: 5.031 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.0006102/0.1975, allocations: 415 kB / 0.6005 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1976, allocations: 8.031 kB / 0.6005 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.1976, allocations: 46.55 kB / 0.6006 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/0.1984, allocations: 143.6 kB / 0.6007 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.1986, allocations: 181.1 kB / 0.6009 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.1987, allocations: 71.39 kB / 0.601 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.1987, allocations: 12 kB / 0.601 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004823/0.1992, allocations: 187.5 kB / 0.6011 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1992, allocations: 0 / 0.6011 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/0.1992, allocations: 7.984 kB / 0.6012 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1992, allocations: 4 kB / 0.6012 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.1998, allocations: 191.7 kB / 0.6013 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.2008, allocations: 0.5016 MB / 0.6018 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009006/0.2018, allocations: 270.3 kB / 0.6021 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.202, allocations: 100.9 kB / 0.6022 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2021, allocations: 0 / 0.6022 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2021, allocations: 34.56 kB / 0.6022 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.2021, allocations: 0 / 0.6022 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0009394/0.2031, allocations: 313.5 kB / 0.6025 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.2031, allocations: 55.41 kB / 0.6026 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2032, allocations: 141.8 kB / 0.6027 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2033, allocations: 29.7 kB / 0.6027 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.2033, allocations: 112.1 kB / 0.6028 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2034, allocations: 15.75 kB / 0.6029 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.2034, allocations: 3.938 kB / 0.6029 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2035, allocations: 322.8 kB / 0.6032 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.2038, allocations: 91.92 kB / 0.6033 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002862/0.2041, allocations: 114.5 kB / 0.6034 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.2043, allocations: 87.94 kB / 0.6034 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2044, allocations: 0 / 0.6034 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006044/0.205, allocations: 237.4 kB / 0.6037 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.205, allocations: 4 kB / 0.6037 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.205, allocations: 7.984 kB / 0.6037 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.205, allocations: 0 / 0.6037 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/0.2053, allocations: 51.89 kB / 0.6037 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2053, allocations: 160 / 0.6037 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.2055, allocations: 43.81 kB / 0.6038 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.2055, allocations: 7.984 kB / 0.6038 GB, free: 1.039 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.0001053/0.2056, allocations: 117.8 kB / 0.6039 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.2057, allocations: 7.906 kB / 0.6039 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006545/0.2063, allocations: 242.2 kB / 0.6041 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2063, allocations: 384 / 0.6041 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2064, allocations: 3.984 kB / 0.6041 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2064, allocations: 0 / 0.6041 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.2066, allocations: 246.3 kB / 0.6044 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2066, allocations: 0 / 0.6044 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.2068, allocations: 39.95 kB / 0.6044 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2069, allocations: 4 kB / 0.6044 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.2069, allocations: 7.984 kB / 0.6044 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2069, allocations: 0 / 0.6044 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2069, allocations: 0 / 0.6044 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2914/0.4983, allocations: 322.2 kB / 0.6047 GB, free: 41.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.4983, allocations: 85.44 kB / 0.6048 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.4984, allocations: 0.5625 kB / 0.6048 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.4987, allocations: 46.97 kB / 0.6049 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.4988, allocations: 5.594 kB / 0.6049 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.4988, allocations: 4.953 kB / 0.6049 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.834e-05/0.4989, allocations: 108.5 kB / 0.605 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4989, allocations: 0 / 0.605 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003247/0.4992, allocations: 26.22 kB / 0.605 GB, free: 41.24 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.0008216/0.5, allocations: 0.8489 MB / 0.6058 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005553/0.5006, allocations: 201.7 kB / 0.606 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5006, allocations: 2.812 kB / 0.606 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.5009, allocations: 102.9 kB / 0.6061 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.5012, allocations: 6.844 kB / 0.6061 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.5028, allocations: 0.9324 MB / 0.607 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.5029, allocations: 0.6997 MB / 0.6077 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.547e-05/0.503, allocations: 15.72 kB / 0.6077 GB, free: 39.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.5031, allocations: 32.72 kB / 0.6078 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.5031, allocations: 0 / 0.6078 GB, free: 39.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01132/0.5144, allocations: 2.411 MB / 0.6101 GB, free: 39.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001371/0.5146, allocations: 196.4 kB / 0.6103 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.199, allocations: 0 / 0.6103 GB, free: 39.14 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: