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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.8252/0.8252, allocations: 127.4 MB / 134.9 MB, free: 3.734 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001153, allocations: 188.8 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.2 MB / 399.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 91.98 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.203e-05, allocations: 8 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1872, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.605/0.7922, allocations: 104.1 MB / 0.7232 GB, free: 11.29 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.7925, allocations: 82.88 kB / 0.7233 GB, free: 11.24 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.808, allocations: 5.379 MB / 0.7286 GB, free: 6.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.808, allocations: 4 kB / 0.7286 GB, free: 6.746 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.8081, allocations: 0 / 0.7286 GB, free: 6.746 MB / 490.7 MB 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.000624/0.8087, allocations: 403.9 kB / 0.729 GB, free: 6.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.8088, allocations: 12.03 kB / 0.729 GB, free: 6.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000727/0.8095, allocations: 123.6 kB / 0.7291 GB, free: 6.184 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.8097, allocations: 179.4 kB / 0.7293 GB, free: 5.973 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.8098, allocations: 75.3 kB / 0.7293 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.8098, allocations: 4 kB / 0.7293 GB, free: 5.883 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001768/0.81, allocations: 72.42 kB / 0.7294 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.8102, allocations: 105.4 kB / 0.7295 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.8103, allocations: 0 / 0.7295 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.8103, allocations: 4 kB / 0.7295 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.8103, allocations: 0 / 0.7295 GB, free: 5.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.8114, allocations: 473.2 kB / 0.73 GB, free: 5.301 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005828/0.812, allocations: 167.9 kB / 0.7301 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.8121, allocations: 35.3 kB / 0.7302 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.8121, allocations: 11.97 kB / 0.7302 GB, free: 5.121 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.8121, allocations: 38.19 kB / 0.7302 GB, free: 5.078 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.8121, allocations: 0 / 0.7302 GB, free: 5.078 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002586/0.8124, allocations: 98.62 kB / 0.7303 GB, free: 5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.8124, allocations: 59.33 kB / 0.7304 GB, free: 4.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.8126, allocations: 123.1 kB / 0.7305 GB, free: 4.812 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.8126, allocations: 29.64 kB / 0.7305 GB, free: 4.777 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.8127, allocations: 110.5 kB / 0.7306 GB, free: 4.672 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.8127, allocations: 19.38 kB / 0.7306 GB, free: 4.656 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.8127, allocations: 4 kB / 0.7306 GB, free: 4.652 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.8128, allocations: 322.2 kB / 0.7309 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.977e-05/0.8129, allocations: 33.88 kB / 0.731 GB, free: 4.312 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.813, allocations: 52.81 kB / 0.731 GB, free: 4.266 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.8131, allocations: 26.8 kB / 0.731 GB, free: 4.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8131, allocations: 0 / 0.731 GB, free: 4.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001845/0.8133, allocations: 121.6 kB / 0.7312 GB, free: 4.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8133, allocations: 4 kB / 0.7312 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8133, allocations: 0 / 0.7312 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.8133, allocations: 4 kB / 0.7312 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.8136, allocations: 39.95 kB / 0.7312 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.8136, allocations: 4 kB / 0.7312 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.8138, allocations: 39.89 kB / 0.7313 GB, free: 4.062 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.8138, allocations: 3.984 kB / 0.7313 GB, free: 4.059 MB / 490.7 MB 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 () * 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 9.17e-05/0.8139, allocations: 109.6 kB / 0.7314 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001805/0.8141, allocations: 103.5 kB / 0.7315 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.8142, allocations: 7.906 kB / 0.7315 GB, free: 3.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.8144, allocations: 124.2 kB / 0.7316 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.8144, allocations: 0 / 0.7316 GB, free: 3.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.8144, allocations: 3.953 kB / 0.7316 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8144, allocations: 0 / 0.7316 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.8147, allocations: 210.4 kB / 0.7318 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.8147, allocations: 0 / 0.7318 GB, free: 3.535 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.8149, allocations: 51.88 kB / 0.7318 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8149, allocations: 0 / 0.7318 GB, free: 3.484 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.815, allocations: 4 kB / 0.7318 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.815, allocations: 0 / 0.7318 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.815, allocations: 0 / 0.7318 GB, free: 3.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.8152, allocations: 197.4 kB / 0.732 GB, free: 3.297 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.8153, allocations: 88.95 kB / 0.7321 GB, free: 3.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.8153, allocations: 4 kB / 0.7321 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003181/0.8156, allocations: 47 kB / 0.7322 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.8157, allocations: 4 kB / 0.7322 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.8157, allocations: 7.984 kB / 0.7322 GB, free: 3.133 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.639e-05/0.8158, allocations: 109 kB / 0.7323 GB, free: 3.035 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8158, allocations: 0 / 0.7323 GB, free: 3.035 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.816, allocations: 23.91 kB / 0.7323 GB, free: 3.012 MB / 490.7 MB 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 () * 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.0005437/0.8166, allocations: 0.7272 MB / 0.733 GB, free: 2.285 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.8168, allocations: 83.42 kB / 0.7331 GB, free: 2.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.8168, allocations: 3.938 kB / 0.7331 GB, free: 2.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.8169, allocations: 42.05 kB / 0.7331 GB, free: 2.199 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.8171, allocations: 15.02 kB / 0.7332 GB, free: 2.191 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.8176, allocations: 171 kB / 0.7333 GB, free: 2.004 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.8179, allocations: 0.7041 MB / 0.734 GB, free: 1.273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.818, allocations: 20 kB / 0.734 GB, free: 1.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.488e-05/0.8181, allocations: 33.42 kB / 0.7341 GB, free: 1.234 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.8181, allocations: 4 kB / 0.7341 GB, free: 1.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02224/0.8404, allocations: 2.085 MB / 0.7361 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003587/0.8408, allocations: 140.5 kB / 0.7362 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.359, allocations: 0 / 0.7362 GB, free: 14.98 MB / 0.4948 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)