Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.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 3.2.3+maint.om/package.mo", uses=false) 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 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(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 105.7 kB / 17.06 MB, free: 6.027 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.001802/0.001802, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 55.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1041, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003693/0.1079, allocations: 1.56 MB / 376 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.1092, allocations: 0.5656 MB / 376.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1094, allocations: 0 / 376.6 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.539e-05/0.1095, allocations: 7.875 kB / 376.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.1096, allocations: 11.86 kB / 376.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.1099, allocations: 43.89 kB / 376.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.11, allocations: 51.84 kB / 376.7 MB, free: 2.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.1102, allocations: 31.95 kB / 376.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.1102, allocations: 19.88 kB / 376.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.1103, allocations: 23.86 kB / 376.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.1103, allocations: 8 kB / 376.8 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.1105, allocations: 39.95 kB / 376.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.1105, allocations: 15.92 kB / 376.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.1106, allocations: 31.73 kB / 376.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1107, allocations: 79.77 kB / 377 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1108, allocations: 3.938 kB / 377 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1108, allocations: 0 / 377 MB, free: 2.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1108, allocations: 0 / 377 MB, free: 2.066 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004609/0.1112, allocations: 383.2 kB / 377.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1113, allocations: 8.031 kB / 377.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.1117, allocations: 44.8 kB / 377.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1118, allocations: 176.2 kB / 377.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1118, allocations: 8.312 kB / 377.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.1119, allocations: 12.31 kB / 377.6 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1121, allocations: 89.95 kB / 377.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1121, allocations: 0 / 377.7 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1121, allocations: 4 kB / 377.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1121, allocations: 0 / 377.7 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002149/0.1124, allocations: 59.95 kB / 377.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.113, allocations: 360.6 kB / 378.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.1132, allocations: 70.53 kB / 378.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1133, allocations: 36.95 kB / 378.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1134, allocations: 0 / 378.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1134, allocations: 34.56 kB / 378.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 2.756e-06/0.1134, allocations: 0 / 378.2 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004198/0.1138, allocations: 129.5 kB / 378.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.1139, allocations: 51.41 kB / 378.4 MB, free: 460 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.114, allocations: 126 kB / 378.5 MB, free: 324 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.114, allocations: 25.7 kB / 378.6 MB, free: 292 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.1141, allocations: 108 kB / 378.7 MB, free: 180 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.1141, allocations: 7.812 kB / 378.7 MB, free: 172 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1142, allocations: 21.7 kB / 378.7 MB, free: 144 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.2226/0.3368, allocations: 318.8 kB / 379 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.337, allocations: 21.47 kB / 379 MB, free: 12.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.3371, allocations: 28.78 kB / 379.1 MB, free: 12.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.3374, allocations: 59.25 kB / 379.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3374, allocations: 5.625 kB / 379.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002868/0.3377, allocations: 93.92 kB / 379.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.3377, allocations: 5.094 kB / 379.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3377, allocations: 0 / 379.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3377, allocations: 4.812 kB / 379.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3379, allocations: 19.16 kB / 379.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3379, allocations: 5.5 kB / 379.2 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.338, allocations: 13.31 kB / 379.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.338, allocations: 1.609 kB / 379.3 MB, free: 12.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (5): * Single equations (assignments): 5 * 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.053e-05/0.3381, allocations: 111.7 kB / 379.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.3382, allocations: 7.406 kB / 379.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.3385, allocations: 117.1 kB / 379.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3385, allocations: 2.594 kB / 379.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3385, allocations: 4.312 kB / 379.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3385, allocations: 1.641 kB / 379.5 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3387, allocations: 188.4 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3387, allocations: 0.6562 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.3389, allocations: 19.88 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3389, allocations: 0 / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3389, allocations: 5.891 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3389, allocations: 6.047 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3389, allocations: 1.25 kB / 379.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.3392, allocations: 197.5 kB / 379.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.3392, allocations: 84.39 kB / 380 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.3393, allocations: 2.031 kB / 380 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.3394, allocations: 15.31 kB / 380 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.3394, allocations: 3.859 kB / 380 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.3394, allocations: 2.75 kB / 380 MB, free: 12.2 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.3395, allocations: 99.86 kB / 380.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.3395, allocations: 1.375 kB / 380.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.3397, allocations: 15.16 kB / 380.1 MB, free: 12.13 MB / 318.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.0001015/0.3398, allocations: 93.61 kB / 380.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.3401, allocations: 71.73 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3401, allocations: 0 / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3402, allocations: 40.33 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.3406, allocations: 7.516 kB / 380.3 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.3411, allocations: 192.9 kB / 380.5 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.3413, allocations: 0.6945 MB / 381.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.547e-05/0.3413, allocations: 4.016 kB / 381.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3414, allocations: 15.89 kB / 381.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3414, allocations: 0 / 381.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of Templates: time 0.003211/0.3446, allocations: 0.8 MB / 382 MB, free: 11.15 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)