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.03019/0.03019, allocations: 3.905 MB / 18.85 MB, free: 2.91 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.001083/0.001083, allocations: 169.1 kB / 20.47 MB, free: 1.527 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.402/1.402, allocations: 223.2 MB / 245.2 MB, free: 5.391 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.0009933/0.0009933, allocations: 94.75 kB / 297.1 MB, free: 6.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003149, allocations: 8 kB / 358.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 51.18 MB / 410 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09892/0.3178, allocations: 78.93 MB / 488.9 MB, free: 12.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3181, allocations: 67.97 kB / 489 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01698/0.3351, allocations: 5.935 MB / 494.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3351, allocations: 0 / 494.9 MB, free: 6.488 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.3352, allocations: 4 kB / 495 MB, free: 6.484 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.002476/0.3377, allocations: 2.288 MB / 497.2 MB, free: 4.129 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3377, allocations: 8.031 kB / 497.2 MB, free: 4.121 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.264e-05/0.3378, allocations: 42.55 kB / 497.3 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006356/0.3384, allocations: 79.61 kB / 497.4 MB, free: 3.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.339, allocations: 302.5 kB / 497.7 MB, free: 3.656 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.3391, allocations: 8 kB / 497.7 MB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/0.3391, allocations: 12 kB / 497.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.3396, allocations: 231.2 kB / 497.9 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3396, allocations: 7.891 kB / 497.9 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.3396, allocations: 8 kB / 497.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3396, allocations: 3.984 kB / 497.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003868/0.34, allocations: 203.9 kB / 498.1 MB, free: 3.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.3403, allocations: 246.3 kB / 498.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.3408, allocations: 308.7 kB / 498.7 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.3408, allocations: 0 / 498.7 MB, free: 2.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006147/0.3414, allocations: 0.496 MB / 499.2 MB, free: 2.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.3414, allocations: 3.938 kB / 499.2 MB, free: 2.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001336/0.3428, allocations: 0.8704 MB / 0.4883 GB, free: 1.086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.3429, allocations: 164.5 kB / 0.4885 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3431, allocations: 190.2 kB / 0.4887 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3431, allocations: 29.7 kB / 0.4887 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.3432, allocations: 108.7 kB / 0.4888 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.3433, allocations: 47.34 kB / 0.4888 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.773e-05/0.3433, allocations: 8 kB / 0.4888 GB, free: 0.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3435, allocations: 330.8 kB / 0.4892 GB, free: 172 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.3437, allocations: 128.2 kB / 0.4893 GB, free: 44 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.344, allocations: 128.5 kB / 0.4894 GB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.3443, allocations: 214.2 kB / 0.4896 GB, free: 15.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.3443, allocations: 0 / 0.4896 GB, free: 15.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006536/0.3449, allocations: 443.2 kB / 0.49 GB, free: 15.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/0.345, allocations: 91.38 kB / 0.4901 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.345, allocations: 7.984 kB / 0.4901 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3451, allocations: 0 / 0.4901 GB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3452, allocations: 19.98 kB / 0.4901 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3452, allocations: 7.891 kB / 0.4902 GB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001208/0.3454, allocations: 23.91 kB / 0.4902 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.3454, allocations: 11.98 kB / 0.4902 GB, free: 15.07 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.0002452/0.3457, allocations: 251.8 kB / 0.4904 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.633e-05/0.3457, allocations: 27.72 kB / 0.4905 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.3458, allocations: 17.39 kB / 0.4905 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3458, allocations: 0 / 0.4905 GB, free: 14.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3458, allocations: 4 kB / 0.4905 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3458, allocations: 7.953 kB / 0.4905 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.346, allocations: 273.2 kB / 0.4907 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3461, allocations: 3.938 kB / 0.4907 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.782e-05/0.3461, allocations: 19.92 kB / 0.4908 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3461, allocations: 0 / 0.4908 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.3462, allocations: 11.98 kB / 0.4908 GB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3462, allocations: 4 kB / 0.4908 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3462, allocations: 0 / 0.4908 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009407/0.3471, allocations: 0.6534 MB / 0.4914 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.3473, allocations: 140.8 kB / 0.4916 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.517e-05/0.3474, allocations: 19.98 kB / 0.4916 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.3475, allocations: 23.98 kB / 0.4916 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.3476, allocations: 27.91 kB / 0.4916 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.521e-05/0.3477, allocations: 27.92 kB / 0.4916 GB, free: 13.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3478, allocations: 143.4 kB / 0.4918 GB, free: 13.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3478, allocations: 0 / 0.4918 GB, free: 13.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003686/0.3482, allocations: 99.86 kB / 0.4919 GB, free: 13.21 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.001701/0.3499, allocations: 1.479 MB / 0.4933 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008785/0.3508, allocations: 0.7514 MB / 0.4941 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3508, allocations: 0 / 0.4941 GB, free: 10.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.3515, allocations: 0.6393 MB / 0.4947 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.3517, allocations: 24.08 kB / 0.4947 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3527, allocations: 0.787 MB / 0.4955 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.353, allocations: 0.7355 MB / 0.4962 GB, free: 8.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.3531, allocations: 16.41 kB / 0.4962 GB, free: 8.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.608e-05/0.3532, allocations: 47.42 kB / 0.4963 GB, free: 8.613 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3532, allocations: 4 kB / 0.4963 GB, free: 8.609 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.3716, allocations: 5.667 MB / 0.5018 GB, free: 3.07 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.3718, allocations: 225.7 kB / 0.502 GB, free: 2.836 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.204, allocations: 0 / 0.502 GB, free: 2.836 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)