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.7366/0.7366, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 195.8 kB / 169.7 MB, free: 1.723 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.765/1.765, allocations: 205.1 MB / 404.5 MB, free: 1.645 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.001024/0.001024, allocations: 91.83 kB / 481.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.858e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1708, allocations: 76.77 MB / 0.6283 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6805/0.8513, allocations: 104.4 MB / 0.7303 GB, free: 8.945 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.8516, allocations: 75.77 kB / 0.7303 GB, free: 8.906 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.8678, allocations: 5.407 MB / 0.7356 GB, free: 4.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.8679, allocations: 0 / 0.7356 GB, free: 4.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.8679, allocations: 0 / 0.7356 GB, free: 4.312 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.000641/0.8686, allocations: 416.6 kB / 0.736 GB, free: 3.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.8686, allocations: 12.03 kB / 0.736 GB, free: 3.859 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.614e-05/0.8687, allocations: 42.44 kB / 0.7361 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.8695, allocations: 119.5 kB / 0.7362 GB, free: 3.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.8697, allocations: 178 kB / 0.7363 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.8698, allocations: 67.31 kB / 0.7364 GB, free: 3.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.8699, allocations: 11.94 kB / 0.7364 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.8702, allocations: 125.2 kB / 0.7365 GB, free: 3.305 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.8702, allocations: 3.938 kB / 0.7365 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.8702, allocations: 6.938 kB / 0.7365 GB, free: 3.297 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.8702, allocations: 0 / 0.7365 GB, free: 3.297 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.8704, allocations: 75.17 kB / 0.7366 GB, free: 3.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.8716, allocations: 0.4914 MB / 0.7371 GB, free: 2.766 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005987/0.8722, allocations: 167.2 kB / 0.7373 GB, free: 2.625 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.86e-05/0.8723, allocations: 39.42 kB / 0.7373 GB, free: 2.598 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.8724, allocations: 3.984 kB / 0.7373 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.8724, allocations: 42.56 kB / 0.7373 GB, free: 2.543 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 3.396e-06/0.8724, allocations: 3.938 kB / 0.7373 GB, free: 2.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003075/0.8727, allocations: 108.3 kB / 0.7374 GB, free: 2.453 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.8728, allocations: 55.39 kB / 0.7375 GB, free: 2.387 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.8729, allocations: 122.9 kB / 0.7376 GB, free: 2.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.8729, allocations: 25.7 kB / 0.7376 GB, free: 2.238 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.873, allocations: 109.9 kB / 0.7377 GB, free: 2.133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.8731, allocations: 19.12 kB / 0.7378 GB, free: 2.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.8731, allocations: 7.438 kB / 0.7378 GB, free: 2.113 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.8732, allocations: 322.2 kB / 0.7381 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.8733, allocations: 26.56 kB / 0.7381 GB, free: 1.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.038e-05/0.8734, allocations: 61 kB / 0.7382 GB, free: 1.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.22e-05/0.8735, allocations: 34.05 kB / 0.7382 GB, free: 1.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/0.8735, allocations: 0 / 0.7382 GB, free: 1.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002012/0.8737, allocations: 121.6 kB / 0.7383 GB, free: 1.605 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.8738, allocations: 4 kB / 0.7383 GB, free: 1.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.8738, allocations: 4.125 kB / 0.7383 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.8738, allocations: 3.953 kB / 0.7383 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.8741, allocations: 43.95 kB / 0.7384 GB, free: 1.551 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.8741, allocations: 4 kB / 0.7384 GB, free: 1.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.8743, allocations: 39.25 kB / 0.7384 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.8743, allocations: 7.984 kB / 0.7384 GB, free: 1.504 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 8.687e-05/0.8744, allocations: 101 kB / 0.7385 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.8745, allocations: 11.22 kB / 0.7385 GB, free: 1.391 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002663/0.8747, allocations: 122.1 kB / 0.7386 GB, free: 1.293 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.8748, allocations: 4 kB / 0.7386 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.8748, allocations: 3.953 kB / 0.7386 GB, free: 1.285 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8748, allocations: 7.969 kB / 0.7386 GB, free: 1.277 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.8751, allocations: 238.6 kB / 0.7389 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8751, allocations: 0 / 0.7389 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.8753, allocations: 43.95 kB / 0.7389 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8753, allocations: 0 / 0.7389 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.8753, allocations: 3.984 kB / 0.7389 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8753, allocations: 0 / 0.7389 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8754, allocations: 11.89 kB / 0.7389 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.8756, allocations: 199.8 kB / 0.7391 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.8757, allocations: 88.95 kB / 0.7392 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.8757, allocations: 7.688 kB / 0.7392 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.876, allocations: 39.95 kB / 0.7393 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.8761, allocations: 11.94 kB / 0.7393 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.8761, allocations: 7.984 kB / 0.7393 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.147e-05/0.8762, allocations: 109.2 kB / 0.7394 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8762, allocations: 0 / 0.7394 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.8765, allocations: 23.91 kB / 0.7394 GB, free: 0.4961 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.0006253/0.8771, allocations: 0.7425 MB / 0.7401 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.8773, allocations: 79.05 kB / 0.7402 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8773, allocations: 4.125 kB / 0.7402 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.8774, allocations: 48.98 kB / 0.7402 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.8777, allocations: 7.953 kB / 0.7403 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.8783, allocations: 178.1 kB / 0.7404 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.8786, allocations: 0.7043 MB / 0.7411 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.8787, allocations: 19.94 kB / 0.7411 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.647e-05/0.8788, allocations: 29.36 kB / 0.7412 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.8788, allocations: 4 kB / 0.7412 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.8939, allocations: 2.42 MB / 0.7435 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/0.8941, allocations: 161.6 kB / 0.7437 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.655, allocations: 0 / 0.7437 GB, free: 12.18 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)