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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8172/0.8172, allocations: 128.7 MB / 143.7 MB, free: 2.289 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.001363/0.001362, allocations: 188.4 kB / 173.8 MB, free: 6.113 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.605/1.605, allocations: 205.4 MB / 409 MB, free: 10.5 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.001011/0.001011, allocations: 94.36 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.000338, allocations: 10.62 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1963, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.3502, allocations: 104.5 MB / 0.7374 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.3506, allocations: 83.94 kB / 0.7375 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.3666, allocations: 5.423 MB / 0.7428 GB, free: 388 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3666, allocations: 0 / 0.7428 GB, free: 388 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.3667, allocations: 4 kB / 0.7428 GB, free: 384 kB / 0.5105 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.4207/0.7874, allocations: 421.9 kB / 0.7432 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.7874, allocations: 9.469 kB / 0.7432 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.7883, allocations: 114.4 kB / 0.7433 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.7885, allocations: 183.2 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.7886, allocations: 66.34 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.7887, allocations: 8.625 kB / 0.7435 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.7892, allocations: 192 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7893, allocations: 3.953 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.7893, allocations: 4.688 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.7893, allocations: 0.75 kB / 0.7437 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006184/0.7899, allocations: 198.2 kB / 0.7439 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.7911, allocations: 0.4948 MB / 0.7444 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.7921, allocations: 267.6 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.7921, allocations: 13.81 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.7922, allocations: 30.56 kB / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.7922, allocations: 0 / 0.7447 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.001021/0.7932, allocations: 317.6 kB / 0.745 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7933, allocations: 55.36 kB / 0.7451 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.055e-05/0.7934, allocations: 122.7 kB / 0.7452 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.7934, allocations: 32.42 kB / 0.7452 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.7935, allocations: 107.2 kB / 0.7453 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.7935, allocations: 25.34 kB / 0.7453 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.7935, allocations: 0 / 0.7453 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.7936, allocations: 323.7 kB / 0.7456 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.7939, allocations: 89.67 kB / 0.7457 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.7942, allocations: 110.1 kB / 0.7458 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.7945, allocations: 87.16 kB / 0.7459 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7945, allocations: 5.031 kB / 0.7459 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006409/0.7951, allocations: 239.8 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.7952, allocations: 3.438 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7952, allocations: 7.344 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.7952, allocations: 0 / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.7955, allocations: 50.58 kB / 0.7462 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.7955, allocations: 3.953 kB / 0.7462 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.7957, allocations: 35.11 kB / 0.7462 GB, free: 108 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.7957, allocations: 6.719 kB / 0.7463 GB, free: 108 MB / 0.5105 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 9.831e-05/0.7958, allocations: 116.5 kB / 0.7464 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.7959, allocations: 7.25 kB / 0.7464 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007182/0.7966, allocations: 247.4 kB / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7966, allocations: 1.594 kB / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.7966, allocations: 0 / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7966, allocations: 9.078 kB / 0.7466 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.7968, allocations: 237.7 kB / 0.7468 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.7969, allocations: 0 / 0.7468 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.7971, allocations: 43.59 kB / 0.7469 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7971, allocations: 0 / 0.7469 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7971, allocations: 2 kB / 0.7469 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7971, allocations: 1.156 kB / 0.7469 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7971, allocations: 0 / 0.7469 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.7978, allocations: 328.1 kB / 0.7472 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.596e-05/0.7979, allocations: 82.48 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.7979, allocations: 3.969 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.7982, allocations: 46.34 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.7982, allocations: 7.25 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.7983, allocations: 6.562 kB / 0.7473 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.7983, allocations: 108 kB / 0.7474 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7983, allocations: 1.156 kB / 0.7474 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002533/0.7986, allocations: 25.75 kB / 0.7475 GB, free: 107.4 MB / 0.5105 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.0001555/0.7988, allocations: 102.6 kB / 0.7476 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006787/0.7995, allocations: 197.6 kB / 0.7478 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.7995, allocations: 5.391 kB / 0.7478 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.7998, allocations: 101 kB / 0.7479 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.8, allocations: 6.766 kB / 0.7479 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.8007, allocations: 299.6 kB / 0.7482 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.8009, allocations: 0.7033 MB / 0.7488 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000108/0.8011, allocations: 21.97 kB / 0.7489 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.8011, allocations: 13.14 kB / 0.7489 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.8011, allocations: 0.75 kB / 0.7489 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.004268/0.8054, allocations: 1.313 MB / 0.7502 GB, free: 106.3 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)