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.005416/0.005416, allocations: 101.4 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9325/0.9325, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.83 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4126, allocations: 80.91 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.00268/0.4154, allocations: 1.769 MB / 0.6664 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.4164, allocations: 0.6613 MB / 0.667 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.4166, allocations: 1.406 kB / 0.667 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.4166, allocations: 15.86 kB / 0.667 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.651e-05/0.4167, allocations: 14.66 kB / 0.6671 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006112/0.4173, allocations: 173.9 kB / 0.6672 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.4175, allocations: 125.4 kB / 0.6673 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.4177, allocations: 50.03 kB / 0.6674 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.4178, allocations: 65.7 kB / 0.6674 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.188e-05/0.4179, allocations: 52.19 kB / 0.6675 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.4179, allocations: 10.72 kB / 0.6675 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4181, allocations: 47.22 kB / 0.6676 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.4181, allocations: 30.5 kB / 0.6676 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.4182, allocations: 61.14 kB / 0.6676 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.4184, allocations: 140.9 kB / 0.6678 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.257e-06/0.4184, allocations: 0 / 0.6678 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4184, allocations: 0 / 0.6678 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.4184, allocations: 0 / 0.6678 GB, free: 5.172 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.0005328/0.4189, allocations: 436.5 kB / 0.6682 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.419, allocations: 9.625 kB / 0.6682 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007836/0.4198, allocations: 112.1 kB / 0.6683 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4199, allocations: 191 kB / 0.6685 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.42, allocations: 62.69 kB / 0.6685 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.42, allocations: 5.688 kB / 0.6686 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.4205, allocations: 178 kB / 0.6687 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4205, allocations: 0 / 0.6687 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.4205, allocations: 4 kB / 0.6687 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4206, allocations: 7.031 kB / 0.6687 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005212/0.4211, allocations: 151.4 kB / 0.6689 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009889/0.4221, allocations: 489.5 kB / 0.6693 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/0.423, allocations: 224 kB / 0.6696 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.4232, allocations: 78.16 kB / 0.6696 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.4233, allocations: 5.422 kB / 0.6696 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.4233, allocations: 36 kB / 0.6697 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.4233, allocations: 1.531 kB / 0.6697 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008882/0.4242, allocations: 258.9 kB / 0.6699 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.4242, allocations: 64.78 kB / 0.67 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/0.4243, allocations: 135 kB / 0.6701 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.4244, allocations: 30.92 kB / 0.6701 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.4244, allocations: 109.4 kB / 0.6702 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4244, allocations: 18.42 kB / 0.6703 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.4245, allocations: 24.14 kB / 0.6703 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.4245, allocations: 317.6 kB / 0.6706 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.4248, allocations: 80.91 kB / 0.6707 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.4251, allocations: 90.75 kB / 0.6708 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.4256, allocations: 168.5 kB / 0.6709 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4256, allocations: 0 / 0.6709 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005858/0.4262, allocations: 205.4 kB / 0.6711 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4262, allocations: 5.562 kB / 0.6711 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4262, allocations: 1.156 kB / 0.6711 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4263, allocations: 9.172 kB / 0.6711 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.4265, allocations: 34.64 kB / 0.6712 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4265, allocations: 5.406 kB / 0.6712 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4267, allocations: 32.91 kB / 0.6712 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4267, allocations: 11.09 kB / 0.6712 GB, free: 2.348 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.334e-05/0.4268, allocations: 117.9 kB / 0.6713 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.381e-05/0.4268, allocations: 8.031 kB / 0.6713 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/0.4275, allocations: 211.4 kB / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4275, allocations: 1.094 kB / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4275, allocations: 0 / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4275, allocations: 0 / 0.6715 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4277, allocations: 230.4 kB / 0.6717 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4277, allocations: 1.5 kB / 0.6717 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.4279, allocations: 34.52 kB / 0.6718 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4279, allocations: 1.375 kB / 0.6718 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.428, allocations: 5.219 kB / 0.6718 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.428, allocations: 0 / 0.6718 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.428, allocations: 0 / 0.6718 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.4285, allocations: 286.6 kB / 0.6721 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.4286, allocations: 83.36 kB / 0.6721 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.4286, allocations: 9 kB / 0.6721 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.4289, allocations: 29.61 kB / 0.6722 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4289, allocations: 6.203 kB / 0.6722 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.4289, allocations: 15.52 kB / 0.6722 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.429, allocations: 106.7 kB / 0.6723 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.429, allocations: 0 / 0.6723 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000284/0.4293, allocations: 31.88 kB / 0.6723 GB, free: 1.375 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.0001065/0.4294, allocations: 100.5 kB / 0.6724 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.43, allocations: 168.9 kB / 0.6726 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.43, allocations: 3.938 kB / 0.6726 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.4303, allocations: 81.81 kB / 0.6727 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.4306, allocations: 12.22 kB / 0.6727 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005853/0.4312, allocations: 253.5 kB / 0.6729 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.4313, allocations: 0.7014 MB / 0.6736 GB, free: 252 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.216e-05/0.4314, allocations: 13.81 kB / 0.6736 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.4315, allocations: 15.55 kB / 0.6736 GB, free: 236 kB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4315, allocations: 0 / 0.6736 GB, free: 236 kB / 0.4981 GB Notification: Performance of Templates: time 0.004091/0.4356, allocations: 1.468 MB / 0.6751 GB, free: 15.49 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)