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.7218/0.7218, allocations: 127.3 MB / 139.8 MB, free: 15.43 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.001131/0.001131, allocations: 188.7 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.756/1.756, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0009584/0.0009583, allocations: 97.89 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.928e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 76.76 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4408/0.5748, allocations: 104.4 MB / 0.7301 GB, free: 8.961 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5751, allocations: 82.81 kB / 0.7302 GB, free: 8.914 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.5908, allocations: 5.408 MB / 0.7355 GB, free: 4.316 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5908, allocations: 0 / 0.7355 GB, free: 4.316 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.5908, allocations: 4 kB / 0.7355 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.0004807/0.5913, allocations: 417.6 kB / 0.7359 GB, free: 3.871 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.5914, allocations: 8.031 kB / 0.7359 GB, free: 3.863 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006856/0.5921, allocations: 115.6 kB / 0.736 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.5922, allocations: 182.9 kB / 0.7362 GB, free: 3.531 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.5923, allocations: 63.16 kB / 0.7363 GB, free: 3.461 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.5924, allocations: 11.81 kB / 0.7363 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.5926, allocations: 123.4 kB / 0.7364 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5926, allocations: 7.891 kB / 0.7364 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.5926, allocations: 0 / 0.7364 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.5926, allocations: 4 kB / 0.7364 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.5928, allocations: 72.81 kB / 0.7365 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.5938, allocations: 0.4893 MB / 0.7369 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005661/0.5944, allocations: 167.4 kB / 0.7371 GB, free: 2.676 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.5945, allocations: 42.67 kB / 0.7371 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.5945, allocations: 0 / 0.7371 GB, free: 2.648 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.5945, allocations: 38.56 kB / 0.7372 GB, free: 2.602 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.5945, allocations: 0 / 0.7372 GB, free: 2.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002457/0.5948, allocations: 114.1 kB / 0.7373 GB, free: 2.508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.5948, allocations: 59.3 kB / 0.7373 GB, free: 2.438 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.5949, allocations: 126 kB / 0.7375 GB, free: 2.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.595, allocations: 29.02 kB / 0.7375 GB, free: 2.289 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.595, allocations: 111.1 kB / 0.7376 GB, free: 2.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.5951, allocations: 23.36 kB / 0.7376 GB, free: 2.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.5951, allocations: 0 / 0.7376 GB, free: 2.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.5952, allocations: 321.8 kB / 0.7379 GB, free: 1.844 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.829e-05/0.5952, allocations: 34.25 kB / 0.738 GB, free: 1.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.5953, allocations: 55.44 kB / 0.738 GB, free: 1.773 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.023e-05/0.5954, allocations: 29 kB / 0.738 GB, free: 1.758 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5954, allocations: 0 / 0.738 GB, free: 1.758 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001919/0.5956, allocations: 129.1 kB / 0.7382 GB, free: 1.652 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5956, allocations: 4.781 kB / 0.7382 GB, free: 1.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.5957, allocations: 4.766 kB / 0.7382 GB, free: 1.645 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.5957, allocations: 4 kB / 0.7382 GB, free: 1.641 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.5959, allocations: 43.91 kB / 0.7382 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.596, allocations: 4 kB / 0.7382 GB, free: 1.594 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.5962, allocations: 39.81 kB / 0.7383 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.5962, allocations: 3.984 kB / 0.7383 GB, free: 1.551 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 6.854e-05/0.5963, allocations: 108.6 kB / 0.7384 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.835e-05/0.5963, allocations: 7.906 kB / 0.7384 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.5966, allocations: 121.1 kB / 0.7385 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5966, allocations: 4 kB / 0.7385 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.5966, allocations: 7.953 kB / 0.7385 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5966, allocations: 0 / 0.7385 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.5968, allocations: 237.9 kB / 0.7387 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5968, allocations: 0 / 0.7387 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.5971, allocations: 39.95 kB / 0.7388 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5971, allocations: 0 / 0.7388 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.5971, allocations: 4 kB / 0.7388 GB, free: 1.031 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.5971, allocations: 4.172 kB / 0.7388 GB, free: 1.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5971, allocations: 3.953 kB / 0.7388 GB, free: 1.023 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.5973, allocations: 209.4 kB / 0.739 GB, free: 0.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.5974, allocations: 85.02 kB / 0.7391 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.5974, allocations: 3.938 kB / 0.7391 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.5977, allocations: 43.95 kB / 0.7391 GB, free: 0.6836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.5978, allocations: 10.61 kB / 0.7391 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.5978, allocations: 11.94 kB / 0.7391 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.327e-05/0.5979, allocations: 101.3 kB / 0.7392 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5979, allocations: 0 / 0.7392 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000236/0.5981, allocations: 27.84 kB / 0.7393 GB, free: 0.5508 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.0001541/0.5983, allocations: 107 kB / 0.7394 GB, free: 448 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.5985, allocations: 83.12 kB / 0.7394 GB, free: 396 kB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5985, allocations: 0 / 0.7394 GB, free: 396 kB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.5986, allocations: 41.05 kB / 0.7395 GB, free: 368 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.5988, allocations: 3.25 kB / 0.7395 GB, free: 368 kB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.5991, allocations: 142.9 kB / 0.7396 GB, free: 216 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.5994, allocations: 0.7083 MB / 0.7403 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.5995, allocations: 23.92 kB / 0.7403 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.5996, allocations: 14.19 kB / 0.7403 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of SimCode: time 3.2e-07/0.5996, allocations: 0 / 0.7403 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of Templates: time 0.003224/0.6028, allocations: 1.321 MB / 0.7416 GB, free: 14.14 MB / 0.4948 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)