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.005998/0.005998, allocations: 164.9 kB / 15.11 MB, free: 5.559 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.304/1.304, allocations: 170.8 MB / 186.6 MB, free: 1.105 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.00177/0.00177, allocations: 103.4 kB / 226.2 MB, free: 10.1 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.02063/0.02063, allocations: 3.111 MB / 268.7 MB, free: 15.45 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004615/0.0004618, allocations: 9.875 kB / 318.7 MB, free: 63.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0693/0.06979, allocations: 39.4 MB / 358.1 MB, free: 23.88 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_Noise.Blocks.Examples.NoiseExamples.Densities): time 0.001295/0.07112, allocations: 1.233 MB / 359.3 MB, free: 22.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006378/0.07178, allocations: 0.5266 MB / 359.9 MB, free: 22.1 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.737e-05/0.07183, allocations: 4 kB / 359.9 MB, free: 22.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.07185, allocations: 3.938 kB / 359.9 MB, free: 22.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.756e-05/0.07192, allocations: 3.984 kB / 359.9 MB, free: 22.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.07211, allocations: 31.97 kB / 359.9 MB, free: 22.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.07217, allocations: 31.89 kB / 359.9 MB, free: 22.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.103e-05/0.07227, allocations: 24.16 kB / 360 MB, free: 22 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.07231, allocations: 15.92 kB / 360 MB, free: 21.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.981e-05/0.07237, allocations: 27.8 kB / 360 MB, free: 21.96 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.07239, allocations: 0 / 360 MB, free: 21.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.07255, allocations: 35.95 kB / 360 MB, free: 21.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.307e-06/0.07257, allocations: 4 kB / 360 MB, free: 21.92 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.0726, allocations: 37.64 kB / 360.1 MB, free: 21.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.157e-05/0.0727, allocations: 56.11 kB / 360.1 MB, free: 21.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.07271, allocations: 0 / 360.1 MB, free: 21.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.07271, allocations: 4 kB / 360.1 MB, free: 21.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.07272, allocations: 0 / 360.1 MB, free: 21.82 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.0003245/0.07305, allocations: 355.2 kB / 360.5 MB, free: 21.42 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.07309, allocations: 12.02 kB / 360.5 MB, free: 21.41 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.07313, allocations: 38.56 kB / 360.5 MB, free: 21.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.07347, allocations: 51.86 kB / 360.6 MB, free: 21.31 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.292e-05/0.07357, allocations: 178.8 kB / 360.8 MB, free: 21.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.0736, allocations: 3.953 kB / 360.8 MB, free: 21.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.07362, allocations: 11.94 kB / 360.8 MB, free: 21.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.07381, allocations: 77.66 kB / 360.9 MB, free: 21 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.07383, allocations: 0 / 360.9 MB, free: 21 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.07385, allocations: 8 kB / 360.9 MB, free: 20.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.07386, allocations: 0 / 360.9 MB, free: 20.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.07405, allocations: 71.94 kB / 360.9 MB, free: 20.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.07451, allocations: 340.6 kB / 361.3 MB, free: 20.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.0747, allocations: 82.53 kB / 361.3 MB, free: 20.45 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.07473, allocations: 4 kB / 361.4 MB, free: 20.45 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.07475, allocations: 34.56 kB / 361.4 MB, free: 20.4 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.07475, allocations: 0 / 361.4 MB, free: 20.4 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003646/0.07512, allocations: 141.7 kB / 361.5 MB, free: 20.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.052e-05/0.07515, allocations: 51.41 kB / 361.6 MB, free: 20.2 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.631e-05/0.07522, allocations: 122.1 kB / 361.7 MB, free: 20.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.07524, allocations: 29.7 kB / 361.7 MB, free: 20.03 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.07528, allocations: 104 kB / 361.8 MB, free: 19.93 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.0753, allocations: 15.8 kB / 361.8 MB, free: 19.91 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.07531, allocations: 0 / 361.8 MB, free: 19.91 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.502e-05/0.07537, allocations: 326.7 kB / 362.2 MB, free: 19.58 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.085e-05/0.07547, allocations: 28.09 kB / 362.2 MB, free: 19.55 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.07556, allocations: 48.16 kB / 362.2 MB, free: 19.51 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.07565, allocations: 32.11 kB / 362.3 MB, free: 19.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.07566, allocations: 0 / 362.3 MB, free: 19.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002043/0.07587, allocations: 109.5 kB / 362.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.07589, allocations: 4 kB / 362.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.0759, allocations: 0 / 362.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.07592, allocations: 4 kB / 362.4 MB, free: 19.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.07605, allocations: 27.97 kB / 362.4 MB, free: 19.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.07607, allocations: 0 / 362.4 MB, free: 19.33 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.567e-05/0.07615, allocations: 12 kB / 362.4 MB, free: 19.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.07616, allocations: 3.984 kB / 362.4 MB, free: 19.31 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 5.423e-05/0.07622, allocations: 117.8 kB / 362.5 MB, free: 19.19 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.07625, allocations: 7.906 kB / 362.5 MB, free: 19.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.07654, allocations: 121.5 kB / 362.7 MB, free: 19.06 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.07655, allocations: 7.984 kB / 362.7 MB, free: 19.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.07656, allocations: 0 / 362.7 MB, free: 19.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.07657, allocations: 3.984 kB / 362.7 MB, free: 19.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.07671, allocations: 189.5 kB / 362.9 MB, free: 18.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.07672, allocations: 0 / 362.9 MB, free: 18.81 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.07682, allocations: 23.98 kB / 362.9 MB, free: 18.79 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.07683, allocations: 0 / 362.9 MB, free: 18.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.07685, allocations: 3.984 kB / 362.9 MB, free: 18.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.07686, allocations: 4 kB / 362.9 MB, free: 18.78 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.07686, allocations: 0 / 362.9 MB, free: 18.78 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.0771, allocations: 211.3 kB / 363.1 MB, free: 18.56 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.07713, allocations: 89 kB / 363.2 MB, free: 18.45 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.07715, allocations: 4 kB / 363.2 MB, free: 18.45 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.961e-05/0.07725, allocations: 8.188 kB / 363.2 MB, free: 18.44 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.0773, allocations: 7.984 kB / 363.2 MB, free: 18.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.07731, allocations: 8 kB / 363.2 MB, free: 18.43 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.225e-05/0.07735, allocations: 95.27 kB / 363.3 MB, free: 18.33 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07735, allocations: 0 / 363.3 MB, free: 18.33 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.07762, allocations: 12 kB / 363.3 MB, free: 18.32 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.0003718/0.078, allocations: 0.7397 MB / 364.1 MB, free: 17.55 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.07823, allocations: 79.89 kB / 364.1 MB, free: 17.47 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.07824, allocations: 0 / 364.1 MB, free: 17.47 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.07834, allocations: 43.91 kB / 364.2 MB, free: 17.43 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.07853, allocations: 11.88 kB / 364.2 MB, free: 17.42 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000911/0.07945, allocations: 0.5883 MB / 364.8 MB, free: 16.79 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.07957, allocations: 0.6965 MB / 365.5 MB, free: 16.06 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.07963, allocations: 4 kB / 365.5 MB, free: 16.06 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.07968, allocations: 23.42 kB / 365.5 MB, free: 16.04 MB / 250.7 MB Notification: Performance of SimCode: time 2.61e-07/0.07969, allocations: 0 / 365.5 MB, free: 16.04 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01244/0.09213, allocations: 1.618 MB / 367.1 MB, free: 14.52 MB / 250.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/0.09231, allocations: 189 kB / 367.3 MB, free: 14.27 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.612, allocations: 0 / 367.3 MB, free: 14.27 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)