Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Running command: "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.TimeBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.0252/0.0252, allocations: 3.904 MB / 18.85 MB, free: 2.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 173.1 kB / 20.47 MB, free: 1.547 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.1 MB / 245.1 MB, free: 5.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008644/0.0008644, allocations: 98.77 kB / 297 MB, free: 6.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003791, allocations: 16 kB / 358.8 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 51.17 MB / 410 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1096/0.3937, allocations: 78.93 MB / 488.9 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.394, allocations: 67.97 kB / 489 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.411, allocations: 5.93 MB / 494.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4111, allocations: 0 / 494.9 MB, free: 6.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.4111, allocations: 7.938 kB / 494.9 MB, free: 6.566 MB / 362.7 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.002561/0.4136, allocations: 2.283 MB / 497.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.4137, allocations: 8.031 kB / 497.2 MB, free: 4.207 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.4138, allocations: 50.48 kB / 497.2 MB, free: 4.148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006388/0.4144, allocations: 71.66 kB / 497.3 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.415, allocations: 306.5 kB / 497.6 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.415, allocations: 4 kB / 497.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.4151, allocations: 8 kB / 497.6 MB, free: 3.727 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.4155, allocations: 239.2 kB / 497.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4155, allocations: 7.938 kB / 497.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.4155, allocations: 4 kB / 497.9 MB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.4155, allocations: 4 kB / 497.9 MB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.4159, allocations: 199.8 kB / 498.1 MB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.4162, allocations: 258.3 kB / 498.3 MB, free: 2.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003737/0.4166, allocations: 308.8 kB / 498.6 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.4166, allocations: 0 / 498.6 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005761/0.4172, allocations: 0.4949 MB / 499.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.162e-06/0.4172, allocations: 0 / 499.1 MB, free: 2.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001243/0.4185, allocations: 0.8711 MB / 500 MB, free: 1.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.4186, allocations: 156.6 kB / 0.4884 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4188, allocations: 198.2 kB / 0.4886 GB, free: 0.7852 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.4188, allocations: 29.7 kB / 0.4886 GB, free: 0.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.4189, allocations: 108.7 kB / 0.4887 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.419, allocations: 47.36 kB / 0.4888 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.387e-05/0.419, allocations: 4 kB / 0.4888 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4191, allocations: 330.8 kB / 0.4891 GB, free: 264 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.4193, allocations: 136.1 kB / 0.4892 GB, free: 128 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.4195, allocations: 124.4 kB / 0.4893 GB, free: 4 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.4199, allocations: 218.1 kB / 0.4895 GB, free: 15.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4199, allocations: 0 / 0.4895 GB, free: 15.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000609/0.4205, allocations: 435.3 kB / 0.49 GB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/0.4206, allocations: 95.36 kB / 0.4901 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.4206, allocations: 192 / 0.4901 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4206, allocations: 0 / 0.4901 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4208, allocations: 31.8 kB / 0.4901 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.4208, allocations: 3.953 kB / 0.4901 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.4209, allocations: 23.89 kB / 0.4901 GB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.421, allocations: 16 kB / 0.4901 GB, free: 15.16 MB / 378.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: 26 ($whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r,$whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,globalSeed.id_impure,timeBasedNoise.localSeed,timeBasedNoise.actualGlobalSeed,timeBasedNoise1.localSeed,timeBasedNoise1.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0002365/0.4212, allocations: 255.8 kB / 0.4904 GB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.4213, allocations: 27.72 kB / 0.4904 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.4213, allocations: 13.41 kB / 0.4904 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.4213, allocations: 0 / 0.4904 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4213, allocations: 0 / 0.4904 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4213, allocations: 11.94 kB / 0.4904 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.4216, allocations: 273.3 kB / 0.4907 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4216, allocations: 0 / 0.4907 GB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.4217, allocations: 11.98 kB / 0.4907 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4217, allocations: 4 kB / 0.4907 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.4217, allocations: 15.98 kB / 0.4907 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4217, allocations: 0 / 0.4907 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4217, allocations: 4 kB / 0.4907 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008952/0.4226, allocations: 0.6611 MB / 0.4914 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.4228, allocations: 136.8 kB / 0.4915 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.4229, allocations: 23.98 kB / 0.4915 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.423, allocations: 23.98 kB / 0.4915 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.041e-05/0.4231, allocations: 27.95 kB / 0.4916 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.572e-05/0.4231, allocations: 23.97 kB / 0.4916 GB, free: 13.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001267/0.4233, allocations: 147.2 kB / 0.4917 GB, free: 13.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4233, allocations: 0 / 0.4917 GB, free: 13.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000408/0.4237, allocations: 91.94 kB / 0.4918 GB, free: 13.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition4,timeBasedNoise.state[1],timeBasedNoise.state[2],timeBasedNoise.state[3],timeBasedNoise.state[4],timeBasedNoise.buffer[1],timeBasedNoise.buffer[2],timeBasedNoise.bufferStartTime,timeBasedNoise.r,$whenCondition1,$whenCondition2,timeBasedNoise1.state[1],timeBasedNoise1.state[2],timeBasedNoise1.state[3],timeBasedNoise1.state[4],timeBasedNoise1.buffer[1],timeBasedNoise1.buffer[2],timeBasedNoise1.bufferStartTime,timeBasedNoise1.r) * Number of discrete states: 20 (timeBasedNoise1.buffer[2],timeBasedNoise1.buffer[1],timeBasedNoise1.r,timeBasedNoise1.bufferStartTime,timeBasedNoise1.state[4],timeBasedNoise1.state[3],timeBasedNoise1.state[2],timeBasedNoise1.state[1],$whenCondition2,$whenCondition1,timeBasedNoise.buffer[2],timeBasedNoise.buffer[1],timeBasedNoise.r,timeBasedNoise.bufferStartTime,timeBasedNoise.state[4],timeBasedNoise.state[3],timeBasedNoise.state[2],timeBasedNoise.state[1],$whenCondition4,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.001648/0.4254, allocations: 1.47 MB / 0.4933 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.4262, allocations: 0.7631 MB / 0.494 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4262, allocations: 0 / 0.494 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006149/0.4269, allocations: 0.6354 MB / 0.4946 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.4271, allocations: 20.08 kB / 0.4946 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.4282, allocations: 0.7909 MB / 0.4954 GB, free: 9.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.4286, allocations: 0.7355 MB / 0.4961 GB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.4287, allocations: 16.41 kB / 0.4961 GB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.4288, allocations: 51.41 kB / 0.4962 GB, free: 8.695 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4288, allocations: 0 / 0.4962 GB, free: 8.695 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.4463, allocations: 5.652 MB / 0.5017 GB, free: 3.168 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.4465, allocations: 229.7 kB / 0.5019 GB, free: 2.93 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.276, allocations: 0 / 0.5019 GB, free: 2.93 MB / 378.7 MB (rm -f AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_TimeBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.TimeBasedNoise.pipe 2>&1)