Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001036/0.001036, allocations: 108 kB / 15.61 MB, free: 152 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.001112/0.001112, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7302/0.7302, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 65.34 kB / 0.5018 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4113/0.4125, allocations: 80.2 MB / 0.5801 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003913/0.4165, allocations: 1.773 MB / 0.5818 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.418, allocations: 0.6613 MB / 0.5825 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.4181, allocations: 1.5 kB / 0.5825 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.867e-05/0.4182, allocations: 10.41 kB / 0.5825 GB, free: 2.855 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.4183, allocations: 18.95 kB / 0.5825 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007189/0.419, allocations: 174.9 kB / 0.5827 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.4193, allocations: 129.4 kB / 0.5828 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.4195, allocations: 48.56 kB / 0.5828 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.4197, allocations: 57.44 kB / 0.5829 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.4198, allocations: 50.23 kB / 0.5829 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.4198, allocations: 15.19 kB / 0.5829 GB, free: 2.613 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.42, allocations: 52.16 kB / 0.583 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.42, allocations: 24.34 kB / 0.583 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.4201, allocations: 60.67 kB / 0.5831 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002597/0.4204, allocations: 140.6 kB / 0.5832 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4204, allocations: 0 / 0.5832 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4204, allocations: 0 / 0.5832 GB, free: 2.492 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.4204, allocations: 0 / 0.5832 GB, free: 2.492 MB / 430.1 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.0006225/0.421, allocations: 440.3 kB / 0.5836 GB, free: 2.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4211, allocations: 13.19 kB / 0.5836 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009185/0.422, allocations: 116.8 kB / 0.5838 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.4221, allocations: 180.4 kB / 0.5839 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/0.4222, allocations: 64.95 kB / 0.584 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.4223, allocations: 9 kB / 0.584 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/0.4228, allocations: 171.2 kB / 0.5842 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4228, allocations: 0 / 0.5842 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.4229, allocations: 1.406 kB / 0.5842 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4229, allocations: 2.344 kB / 0.5842 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006424/0.4235, allocations: 162.9 kB / 0.5843 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.4247, allocations: 488.5 kB / 0.5848 GB, free: 1.328 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.4258, allocations: 219.2 kB / 0.585 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.4261, allocations: 80.7 kB / 0.5851 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.4261, allocations: 6.484 kB / 0.5851 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.4262, allocations: 35.97 kB / 0.5851 GB, free: 1.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.4262, allocations: 0 / 0.5851 GB, free: 1.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001124/0.4273, allocations: 266.9 kB / 0.5854 GB, free: 1.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.4273, allocations: 52.56 kB / 0.5854 GB, free: 1.043 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4274, allocations: 138.2 kB / 0.5855 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4275, allocations: 25.7 kB / 0.5856 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.4275, allocations: 109.9 kB / 0.5857 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.4276, allocations: 23.91 kB / 0.5857 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.4276, allocations: 23.3 kB / 0.5857 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.4277, allocations: 324.6 kB / 0.586 GB, free: 452 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.428, allocations: 74.44 kB / 0.5861 GB, free: 436 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.4284, allocations: 92.45 kB / 0.5862 GB, free: 396 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006089/0.429, allocations: 164.4 kB / 0.5863 GB, free: 332 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.429, allocations: 1.031 kB / 0.5863 GB, free: 332 kB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007387/0.4297, allocations: 205.4 kB / 0.5865 GB, free: 252 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.4298, allocations: 9.031 kB / 0.5866 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4298, allocations: 2.625 kB / 0.5866 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.4298, allocations: 8.406 kB / 0.5866 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4301, allocations: 39.39 kB / 0.5866 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.4301, allocations: 1.453 kB / 0.5866 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.4303, allocations: 26.02 kB / 0.5866 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.4303, allocations: 8.328 kB / 0.5866 GB, free: 228 kB / 430.1 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 () * 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 8.144e-05/0.4304, allocations: 118.7 kB / 0.5867 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.4305, allocations: 8.5 kB / 0.5868 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007508/0.4312, allocations: 212.1 kB / 0.587 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4312, allocations: 0 / 0.587 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4312, allocations: 0.8125 kB / 0.587 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4313, allocations: 0.7969 kB / 0.587 GB, free: 12 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003319/0.4316, allocations: 233.2 kB / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4316, allocations: 0 / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.4319, allocations: 36.12 kB / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.4319, allocations: 0.8438 kB / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4319, allocations: 5.859 kB / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4319, allocations: 1.484 kB / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4319, allocations: 0.5312 kB / 0.5872 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.4327, allocations: 290.8 kB / 0.5875 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.387e-05/0.4328, allocations: 83.69 kB / 0.5876 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.4328, allocations: 5.344 kB / 0.5876 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.4331, allocations: 37.47 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.4332, allocations: 3.578 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.4332, allocations: 7.344 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.35e-05/0.4333, allocations: 107.7 kB / 0.5877 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4333, allocations: 0 / 0.5877 GB, free: 15.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.4336, allocations: 23.28 kB / 0.5878 GB, free: 15.41 MB / 446.1 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 () * 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.0001393/0.4337, allocations: 98.81 kB / 0.5879 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007153/0.4344, allocations: 169.5 kB / 0.588 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4344, allocations: 0 / 0.588 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.4348, allocations: 85.2 kB / 0.5881 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.4351, allocations: 10.34 kB / 0.5881 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.4358, allocations: 263.8 kB / 0.5884 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.4361, allocations: 0.6992 MB / 0.589 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.853e-05/0.4362, allocations: 19.91 kB / 0.5891 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.4363, allocations: 12.73 kB / 0.5891 GB, free: 14.38 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4363, allocations: 5.312 kB / 0.5891 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Templates: time 0.005015/0.4413, allocations: 1.465 MB / 0.5905 GB, free: 14.26 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)