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.009126/0.009126, allocations: 159.5 kB / 15.12 MB, free: 6.027 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.46/1.46, allocations: 170.8 MB / 186.7 MB, free: 1.008 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.001618/0.001618, allocations: 108.6 kB / 226.2 MB, free: 10.08 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.02/0.02, allocations: 3.116 MB / 268.8 MB, free: 15.42 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003818, allocations: 10.88 kB / 318.7 MB, free: 63.14 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09156/0.09195, allocations: 39.39 MB / 358.1 MB, free: 23.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities): time 0.001643/0.09367, allocations: 1.241 MB / 359.4 MB, free: 22.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009099/0.09461, allocations: 0.5228 MB / 359.9 MB, free: 22.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.592e-05/0.09467, allocations: 0 / 359.9 MB, free: 22.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.933e-05/0.0947, allocations: 7.922 kB / 359.9 MB, free: 22.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.09477, allocations: 7.938 kB / 359.9 MB, free: 22.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.09498, allocations: 39.89 kB / 360 MB, free: 22.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.553e-05/0.09507, allocations: 39.86 kB / 360 MB, free: 21.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.09519, allocations: 28.09 kB / 360 MB, free: 21.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.461e-05/0.09523, allocations: 11.94 kB / 360 MB, free: 21.95 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.0953, allocations: 19.86 kB / 360.1 MB, free: 21.93 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.09533, allocations: 4 kB / 360.1 MB, free: 21.92 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001878/0.09552, allocations: 43.94 kB / 360.1 MB, free: 21.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.09555, allocations: 7.938 kB / 360.1 MB, free: 21.87 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.09559, allocations: 29.7 kB / 360.1 MB, free: 21.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.09572, allocations: 56.12 kB / 360.2 MB, free: 21.78 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.09573, allocations: 0 / 360.2 MB, free: 21.78 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.09574, allocations: 0 / 360.2 MB, free: 21.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.09575, allocations: 0 / 360.2 MB, free: 21.78 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.0004604/0.09621, allocations: 359.2 kB / 360.5 MB, free: 21.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.09627, allocations: 16.02 kB / 360.6 MB, free: 21.37 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.09632, allocations: 38.56 kB / 360.6 MB, free: 21.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.09676, allocations: 47.86 kB / 360.6 MB, free: 21.27 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.09689, allocations: 182.8 kB / 360.8 MB, free: 21.05 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.09692, allocations: 7.938 kB / 360.8 MB, free: 21.05 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.09694, allocations: 8 kB / 360.8 MB, free: 21.04 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.09719, allocations: 85.59 kB / 360.9 MB, free: 20.95 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.09721, allocations: 4 kB / 360.9 MB, free: 20.95 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.09723, allocations: 0 / 360.9 MB, free: 20.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.09725, allocations: 0 / 360.9 MB, free: 20.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.09747, allocations: 75.94 kB / 361 MB, free: 20.87 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005602/0.09804, allocations: 340.6 kB / 361.3 MB, free: 20.49 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.09825, allocations: 82.55 kB / 361.4 MB, free: 20.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.09836, allocations: 36.95 kB / 361.4 MB, free: 20.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.09839, allocations: 8 kB / 361.5 MB, free: 20.35 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.09842, allocations: 38.5 kB / 361.5 MB, free: 20.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.09843, allocations: 0 / 361.5 MB, free: 20.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004408/0.09887, allocations: 137.6 kB / 361.6 MB, free: 20.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.09892, allocations: 51.41 kB / 361.7 MB, free: 20.1 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.09902, allocations: 126 kB / 361.8 MB, free: 19.97 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.09904, allocations: 25.7 kB / 361.8 MB, free: 19.94 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.09909, allocations: 99.97 kB / 361.9 MB, free: 19.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.09912, allocations: 15.81 kB / 361.9 MB, free: 19.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.09913, allocations: 4 kB / 361.9 MB, free: 19.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.09921, allocations: 318.8 kB / 362.3 MB, free: 19.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.09931, allocations: 27.98 kB / 362.3 MB, free: 19.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.839e-05/0.09941, allocations: 31.97 kB / 362.3 MB, free: 19.44 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.09952, allocations: 43.92 kB / 362.4 MB, free: 19.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.09953, allocations: 0 / 362.4 MB, free: 19.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002242/0.09976, allocations: 109.5 kB / 362.5 MB, free: 19.28 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.09978, allocations: 4 kB / 362.5 MB, free: 19.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.0998, allocations: 0 / 362.5 MB, free: 19.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.09982, allocations: 112 / 362.5 MB, free: 19.28 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.09997, allocations: 23.92 kB / 362.5 MB, free: 19.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.09998, allocations: 0 / 362.5 MB, free: 19.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.1001, allocations: 19.98 kB / 362.5 MB, free: 19.23 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1001, allocations: 3.953 kB / 362.5 MB, free: 19.23 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.1002, allocations: 113.8 kB / 362.6 MB, free: 19.11 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1002, allocations: 11.89 kB / 362.6 MB, free: 19.1 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003712/0.1006, allocations: 126 kB / 362.8 MB, free: 18.97 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1006, allocations: 0 / 362.8 MB, free: 18.97 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1006, allocations: 4 kB / 362.8 MB, free: 18.97 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1006, allocations: 64 / 362.8 MB, free: 18.97 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.1008, allocations: 197.5 kB / 363 MB, free: 18.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1008, allocations: 0 / 363 MB, free: 18.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.1009, allocations: 19.98 kB / 363 MB, free: 18.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1009, allocations: 4 kB / 363 MB, free: 18.7 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1009, allocations: 4 kB / 363 MB, free: 18.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1009, allocations: 0 / 363 MB, free: 18.7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.101, allocations: 0 / 363 MB, free: 18.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1012, allocations: 219.3 kB / 363.2 MB, free: 18.47 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.1013, allocations: 81.02 kB / 363.3 MB, free: 18.37 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1013, allocations: 0 / 363.3 MB, free: 18.37 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.1014, allocations: 15.98 kB / 363.3 MB, free: 18.36 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.1015, allocations: 4 kB / 363.3 MB, free: 18.35 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1015, allocations: 4 kB / 363.3 MB, free: 18.35 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.45e-05/0.1015, allocations: 94.14 kB / 363.4 MB, free: 18.26 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1016, allocations: 4 kB / 363.4 MB, free: 18.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.1018, allocations: 8 kB / 363.4 MB, free: 18.25 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005636/0.1023, allocations: 0.7474 MB / 364.1 MB, free: 17.47 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.1026, allocations: 79.95 kB / 364.2 MB, free: 17.39 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1026, allocations: 0 / 364.2 MB, free: 17.39 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.1027, allocations: 43.91 kB / 364.3 MB, free: 17.35 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.103, allocations: 4 kB / 364.3 MB, free: 17.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1041, allocations: 0.5961 MB / 364.9 MB, free: 16.7 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.1043, allocations: 0.6926 MB / 365.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.413e-05/0.1043, allocations: 4 kB / 365.6 MB, free: 15.98 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.1044, allocations: 19.42 kB / 365.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of SimCode: time 2e-07/0.1044, allocations: 3.938 kB / 365.6 MB, free: 15.96 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.1177, allocations: 1.627 MB / 367.2 MB, free: 14.42 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.118, allocations: 190.2 kB / 367.4 MB, free: 14.18 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.802, allocations: 0 / 367.4 MB, free: 14.18 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)