Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 177.5 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7759/0.7759, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 395.4 MB, free: 10.81 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009217/0.0009219, allocations: 102.7 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.102e-05, allocations: 7.984 kB / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4893, allocations: 82.31 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.6539, allocations: 112.4 MB / 0.7436 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.6542, allocations: 75.95 kB / 0.7437 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.6703, allocations: 5.088 MB / 0.7486 GB, free: 5.227 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6703, allocations: 4 kB / 0.7486 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6703, allocations: 0 / 0.7486 GB, free: 5.223 MB / 0.5261 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.0006322/0.671, allocations: 414.1 kB / 0.749 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.6711, allocations: 12.03 kB / 0.749 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007609/0.6718, allocations: 111.8 kB / 0.7492 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.672, allocations: 180.5 kB / 0.7493 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.6722, allocations: 71.39 kB / 0.7494 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.6722, allocations: 4 kB / 0.7494 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001959/0.6724, allocations: 72 kB / 0.7495 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.6726, allocations: 111.1 kB / 0.7496 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.6727, allocations: 0 / 0.7496 GB, free: 4.168 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.6727, allocations: 4 kB / 0.7496 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.6727, allocations: 0 / 0.7496 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.6739, allocations: 483.4 kB / 0.75 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005997/0.6745, allocations: 166.5 kB / 0.7502 GB, free: 3.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.6746, allocations: 36.98 kB / 0.7502 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.6746, allocations: 4 kB / 0.7502 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.6747, allocations: 38.56 kB / 0.7503 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.6747, allocations: 0 / 0.7503 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002737/0.6749, allocations: 105.7 kB / 0.7504 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.675, allocations: 51.41 kB / 0.7504 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6751, allocations: 118.7 kB / 0.7505 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.6751, allocations: 25.7 kB / 0.7506 GB, free: 3.066 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.6752, allocations: 112.1 kB / 0.7507 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.6753, allocations: 23.64 kB / 0.7507 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.6753, allocations: 4 kB / 0.7507 GB, free: 2.922 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.6755, allocations: 322.8 kB / 0.751 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.6756, allocations: 36 kB / 0.751 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.046e-05/0.6757, allocations: 50.58 kB / 0.7511 GB, free: 2.504 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.6757, allocations: 23.98 kB / 0.7511 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.6757, allocations: 0 / 0.7511 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002235/0.676, allocations: 121.5 kB / 0.7512 GB, free: 2.355 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.676, allocations: 4 kB / 0.7512 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.676, allocations: 0 / 0.7512 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.676, allocations: 4 kB / 0.7512 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.6763, allocations: 43.94 kB / 0.7513 GB, free: 2.305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.6763, allocations: 7.938 kB / 0.7513 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.6765, allocations: 32.03 kB / 0.7513 GB, free: 2.266 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.6766, allocations: 0 / 0.7513 GB, free: 2.266 MB / 0.5261 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 () * 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.992e-05/0.6767, allocations: 116.9 kB / 0.7514 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.6767, allocations: 11.89 kB / 0.7514 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.677, allocations: 122.2 kB / 0.7515 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.677, allocations: 0 / 0.7515 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.677, allocations: 0 / 0.7515 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.677, allocations: 0 / 0.7515 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.6773, allocations: 214.6 kB / 0.7518 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6773, allocations: 3.984 kB / 0.7518 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/0.6775, allocations: 51.89 kB / 0.7518 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6775, allocations: 0 / 0.7518 GB, free: 1.707 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.6775, allocations: 3.984 kB / 0.7518 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.6776, allocations: 4.188 kB / 0.7518 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6776, allocations: 0 / 0.7518 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.6778, allocations: 199.4 kB / 0.752 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.6779, allocations: 88.97 kB / 0.7521 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.6779, allocations: 0 / 0.7521 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.6782, allocations: 43.95 kB / 0.7521 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.6783, allocations: 7.984 kB / 0.7521 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.6783, allocations: 3.984 kB / 0.7521 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.254e-05/0.6784, allocations: 105.5 kB / 0.7522 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6784, allocations: 4 kB / 0.7522 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002485/0.6786, allocations: 20 kB / 0.7523 GB, free: 1.203 MB / 0.5261 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 () * 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.0001602/0.6788, allocations: 95.19 kB / 0.7524 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.679, allocations: 79.98 kB / 0.7524 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.679, allocations: 0 / 0.7524 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.619e-05/0.6791, allocations: 39.94 kB / 0.7525 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.6793, allocations: 11.94 kB / 0.7525 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.6797, allocations: 144.6 kB / 0.7526 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.68, allocations: 0.7041 MB / 0.7533 GB, free: 80 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.6801, allocations: 16.19 kB / 0.7533 GB, free: 60 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.6802, allocations: 11.44 kB / 0.7533 GB, free: 48 kB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.6802, allocations: 0 / 0.7533 GB, free: 48 kB / 0.5261 GB Notification: Performance of Templates: time 0.003553/0.6837, allocations: 1.251 MB / 0.7546 GB, free: 14.8 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)