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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 190.9 kB / 16.67 MB, free: 6.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.1 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4415, allocations: 80.92 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002592/0.4441, allocations: 1.769 MB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.4452, allocations: 0.6645 MB / 0.667 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.4453, allocations: 1.875 kB / 0.667 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.454e-05/0.4453, allocations: 11.81 kB / 0.667 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.724e-05/0.4454, allocations: 22.5 kB / 0.667 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.446, allocations: 167.8 kB / 0.6672 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.4461, allocations: 116.5 kB / 0.6673 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001531/0.4463, allocations: 63.72 kB / 0.6674 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.4464, allocations: 53.97 kB / 0.6674 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.44e-05/0.4465, allocations: 55.59 kB / 0.6675 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.4466, allocations: 9.688 kB / 0.6675 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.4467, allocations: 44.59 kB / 0.6675 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.4467, allocations: 33.83 kB / 0.6676 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.62e-05/0.4468, allocations: 52.77 kB / 0.6676 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.447, allocations: 149.8 kB / 0.6678 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.447, allocations: 1.5 kB / 0.6678 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.447, allocations: 0 / 0.6678 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4471, allocations: 0 / 0.6678 GB, free: 5.168 MB / 0.4981 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.0005461/0.4476, allocations: 445 kB / 0.6682 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.4477, allocations: 8.656 kB / 0.6682 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/0.4485, allocations: 116.7 kB / 0.6683 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.657e-05/0.4486, allocations: 186.4 kB / 0.6685 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.27e-05/0.4487, allocations: 66.67 kB / 0.6685 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.4487, allocations: 5.656 kB / 0.6686 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.4492, allocations: 174.9 kB / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4493, allocations: 0 / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.4493, allocations: 1.25 kB / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4493, allocations: 2.25 kB / 0.6687 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006385/0.4499, allocations: 160.4 kB / 0.6689 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.451, allocations: 472.9 kB / 0.6693 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.452, allocations: 228.4 kB / 0.6695 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.4523, allocations: 82.75 kB / 0.6696 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4524, allocations: 9.031 kB / 0.6696 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4524, allocations: 32 kB / 0.6697 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.4524, allocations: 0 / 0.6697 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001044/0.4535, allocations: 263.4 kB / 0.6699 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4535, allocations: 56.55 kB / 0.67 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4536, allocations: 140.8 kB / 0.6701 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.4537, allocations: 31.27 kB / 0.6701 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.4537, allocations: 109.4 kB / 0.6702 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.4537, allocations: 21.61 kB / 0.6703 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.4538, allocations: 28.77 kB / 0.6703 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/0.4539, allocations: 321.2 kB / 0.6706 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/0.4542, allocations: 72.52 kB / 0.6707 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.4545, allocations: 99.05 kB / 0.6708 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005885/0.4551, allocations: 168 kB / 0.6709 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.4551, allocations: 0 / 0.6709 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006569/0.4558, allocations: 198.7 kB / 0.6711 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4558, allocations: 11.91 kB / 0.6711 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4558, allocations: 0 / 0.6711 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4558, allocations: 9.656 kB / 0.6711 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/0.4561, allocations: 35.17 kB / 0.6712 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4561, allocations: 0 / 0.6712 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.4563, allocations: 33.66 kB / 0.6712 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4563, allocations: 2.875 kB / 0.6712 GB, free: 2.344 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.601e-05/0.4564, allocations: 114.1 kB / 0.6713 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.4565, allocations: 11.86 kB / 0.6713 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007021/0.4572, allocations: 206.9 kB / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4572, allocations: 1.375 kB / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4572, allocations: 4 kB / 0.6715 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4572, allocations: 1.438 kB / 0.6715 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.4574, allocations: 237.4 kB / 0.6717 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4575, allocations: 1.344 kB / 0.6717 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.4577, allocations: 30.52 kB / 0.6718 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4577, allocations: 1.281 kB / 0.6718 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.4577, allocations: 9.016 kB / 0.6718 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4577, allocations: 0 / 0.6718 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4577, allocations: 1.25 kB / 0.6718 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.4584, allocations: 294.3 kB / 0.6721 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.4584, allocations: 83.47 kB / 0.6721 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4585, allocations: 5.125 kB / 0.6722 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4588, allocations: 35.95 kB / 0.6722 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.526e-05/0.4588, allocations: 3.406 kB / 0.6722 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.4588, allocations: 7.391 kB / 0.6722 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.072e-05/0.4589, allocations: 106.4 kB / 0.6723 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4589, allocations: 0 / 0.6723 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002725/0.4592, allocations: 23.84 kB / 0.6723 GB, free: 1.371 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001282/0.4593, allocations: 99.95 kB / 0.6724 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.46, allocations: 165.5 kB / 0.6726 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.46, allocations: 0 / 0.6726 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.4603, allocations: 82.48 kB / 0.6727 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.4607, allocations: 12.61 kB / 0.6727 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.4613, allocations: 261.5 kB / 0.6729 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.4614, allocations: 0.7036 MB / 0.6736 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000106/0.4615, allocations: 22.16 kB / 0.6736 GB, free: 228 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.035e-05/0.4616, allocations: 11.69 kB / 0.6736 GB, free: 220 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4616, allocations: 0 / 0.6736 GB, free: 220 kB / 0.4981 GB Notification: Performance of Templates: time 0.004008/0.4656, allocations: 1.476 MB / 0.6751 GB, free: 15.46 MB / 0.5137 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)