Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo", uses=false) Using package Modelica_Noise with version 1.0 Beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001247/0.001251, allocations: 172.5 kB / 15.42 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.028/1.028, allocations: 170.5 MB / 186.7 MB, free: 1.02 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001458/0.001458, allocations: 90.91 kB / 226 MB, free: 10.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Noise 1.0.0-master/package.mo): time 0.01947/0.01947, allocations: 3.113 MB / 268.3 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 12 kB / 318.2 MB, free: 63.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05561/0.05596, allocations: 39.13 MB / 357.4 MB, free: 24.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities): time 0.00129/0.05728, allocations: 1.266 MB / 358.6 MB, free: 22.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.05797, allocations: 0.5614 MB / 359.2 MB, free: 22.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.05802, allocations: 4 kB / 359.2 MB, free: 22.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.05806, allocations: 7.938 kB / 359.2 MB, free: 22.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.724e-05/0.05813, allocations: 3.938 kB / 359.2 MB, free: 22.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.05829, allocations: 31.91 kB / 359.2 MB, free: 22.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.833e-05/0.05836, allocations: 51.84 kB / 359.3 MB, free: 22.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.05845, allocations: 20.16 kB / 359.3 MB, free: 22.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.05848, allocations: 11.94 kB / 359.3 MB, free: 22.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.05854, allocations: 27.86 kB / 359.3 MB, free: 22.19 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.05856, allocations: 0 / 359.3 MB, free: 22.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.05872, allocations: 43.89 kB / 359.4 MB, free: 22.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.05874, allocations: 11.92 kB / 359.4 MB, free: 22.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.05877, allocations: 15.88 kB / 359.4 MB, free: 22.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.05888, allocations: 79.98 kB / 359.5 MB, free: 22.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.05889, allocations: 0 / 359.5 MB, free: 22.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.0589, allocations: 0 / 359.5 MB, free: 22.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.05891, allocations: 3.938 kB / 359.5 MB, free: 22.04 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000292/0.05921, allocations: 367.4 kB / 359.9 MB, free: 21.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.05924, allocations: 8.031 kB / 359.9 MB, free: 21.62 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.575e-05/0.05928, allocations: 38.75 kB / 359.9 MB, free: 21.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003219/0.0596, allocations: 52.8 kB / 359.9 MB, free: 21.53 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.05968, allocations: 168.2 kB / 360.1 MB, free: 21.32 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.0597, allocations: 8.375 kB / 360.1 MB, free: 21.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.05972, allocations: 16.06 kB / 360.1 MB, free: 21.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.0599, allocations: 81.64 kB / 360.2 MB, free: 21.21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.05992, allocations: 0 / 360.2 MB, free: 21.21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.05993, allocations: 4 kB / 360.2 MB, free: 21.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.05994, allocations: 0 / 360.2 MB, free: 21.21 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.06013, allocations: 71.95 kB / 360.3 MB, free: 21.14 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.06058, allocations: 348.6 kB / 360.6 MB, free: 20.75 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.06076, allocations: 78.66 kB / 360.7 MB, free: 20.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.98e-05/0.06086, allocations: 48.88 kB / 360.8 MB, free: 20.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.06088, allocations: 0 / 360.8 MB, free: 20.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.0609, allocations: 38.56 kB / 360.8 MB, free: 20.57 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.06091, allocations: 0 / 360.8 MB, free: 20.57 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003404/0.06125, allocations: 141.5 kB / 360.9 MB, free: 20.42 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.06128, allocations: 51.41 kB / 361 MB, free: 20.36 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.06135, allocations: 128.6 kB / 361.1 MB, free: 20.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.06137, allocations: 29.7 kB / 361.1 MB, free: 20.19 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.0614, allocations: 96.06 kB / 361.2 MB, free: 20.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.06143, allocations: 19.72 kB / 361.2 MB, free: 20.07 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.06145, allocations: 9.719 kB / 361.3 MB, free: 20.06 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.0615, allocations: 322.8 kB / 361.6 MB, free: 19.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.06159, allocations: 27.98 kB / 361.6 MB, free: 19.71 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.899e-05/0.06167, allocations: 35.97 kB / 361.6 MB, free: 19.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.06184, allocations: 72.81 kB / 361.7 MB, free: 19.6 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.06185, allocations: 4 kB / 361.7 MB, free: 19.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001985/0.06205, allocations: 105.6 kB / 361.8 MB, free: 19.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.06207, allocations: 4 kB / 361.8 MB, free: 19.48 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.06208, allocations: 0 / 361.8 MB, free: 19.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.0621, allocations: 0 / 361.8 MB, free: 19.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.06222, allocations: 23.98 kB / 361.8 MB, free: 19.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.85e-06/0.06224, allocations: 7.938 kB / 361.9 MB, free: 19.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.06232, allocations: 15.89 kB / 361.9 MB, free: 19.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.06233, allocations: 448 / 361.9 MB, free: 19.43 MB / 250.7 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 4.791e-05/0.06239, allocations: 117.8 kB / 362 MB, free: 19.31 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.06242, allocations: 4 kB / 362 MB, free: 19.3 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.06268, allocations: 129.5 kB / 362.1 MB, free: 19.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.06269, allocations: 7.938 kB / 362.1 MB, free: 19.17 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.0627, allocations: 3.938 kB / 362.1 MB, free: 19.16 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.06271, allocations: 4 kB / 362.1 MB, free: 19.16 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.06284, allocations: 193.5 kB / 362.3 MB, free: 18.92 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.06285, allocations: 0 / 362.3 MB, free: 18.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.06295, allocations: 19.98 kB / 362.3 MB, free: 18.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.06296, allocations: 0 / 362.3 MB, free: 18.9 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.06298, allocations: 0 / 362.3 MB, free: 18.9 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.06298, allocations: 0 / 362.3 MB, free: 18.9 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.06299, allocations: 11.88 kB / 362.3 MB, free: 18.89 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.06322, allocations: 211.4 kB / 362.6 MB, free: 18.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.06325, allocations: 81.02 kB / 362.6 MB, free: 18.57 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.06327, allocations: 4 kB / 362.6 MB, free: 18.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.06338, allocations: 15.98 kB / 362.7 MB, free: 18.55 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.395e-05/0.06342, allocations: 7.922 kB / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.06343, allocations: 4 kB / 362.7 MB, free: 18.54 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.06347, allocations: 95.27 kB / 362.8 MB, free: 18.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06348, allocations: 4 kB / 362.8 MB, free: 18.44 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000199/0.06368, allocations: 8 kB / 362.8 MB, free: 18.43 MB / 250.7 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.0003496/0.06403, allocations: 0.7397 MB / 363.5 MB, free: 17.66 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.06427, allocations: 75.95 kB / 363.6 MB, free: 17.59 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.06428, allocations: 0 / 363.6 MB, free: 17.59 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.191e-05/0.06437, allocations: 43.97 kB / 363.6 MB, free: 17.55 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.06464, allocations: 11.94 kB / 363.6 MB, free: 17.54 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.06588, allocations: 1.493 MB / 365.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.066, allocations: 0.6887 MB / 365.8 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.06605, allocations: 8 kB / 365.8 MB, free: 15.24 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.06611, allocations: 19.42 kB / 365.8 MB, free: 15.22 MB / 250.7 MB Notification: Performance of SimCode: time 4.3e-07/0.06611, allocations: 0 / 365.8 MB, free: 15.22 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01108/0.0772, allocations: 1.649 MB / 367.5 MB, free: 13.66 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.07736, allocations: 216.6 kB / 367.7 MB, free: 13.4 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.435/1.513, allocations: 4 kB / 367.7 MB, free: 13.39 MB / 250.7 MB (rm -f Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_Noise_Modelica_Noise_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_Noise_Modelica_Noise.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1)