Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.AutomaticSeed,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 175.4 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009126/0.0009126, allocations: 102 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.447e-05/2.451e-05, allocations: 7.938 kB / 337.1 MB, free: 9.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 50.42 MB / 387.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3401/0.4579, allocations: 76.71 MB / 464.3 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4582, allocations: 63.97 kB / 464.3 MB, free: 2.051 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02212/0.4803, allocations: 8.4 MB / 472.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4804, allocations: 0 / 472.7 MB, free: 9.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4804, allocations: 4 kB / 472.7 MB, free: 9.598 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009668/0.4814, allocations: 0.597 MB / 473.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4814, allocations: 12.03 kB / 473.3 MB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007432/0.4822, allocations: 115.4 kB / 473.5 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.4825, allocations: 252.1 kB / 473.7 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.4825, allocations: 4 kB / 473.7 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.4826, allocations: 23.92 kB / 473.7 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002339/0.4829, allocations: 100.5 kB / 473.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.4832, allocations: 244.3 kB / 474.1 MB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.4833, allocations: 3.953 kB / 474.1 MB, free: 8.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.4833, allocations: 7.984 kB / 474.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4833, allocations: 4 kB / 474.1 MB, free: 8.133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4847, allocations: 0.7885 MB / 474.9 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/0.4851, allocations: 289.5 kB / 475.2 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.4853, allocations: 133.1 kB / 475.3 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4853, allocations: 7.984 kB / 475.3 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004312/0.4858, allocations: 315.3 kB / 475.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 1.693e-06/0.4858, allocations: 0 / 475.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006708/0.4864, allocations: 436.9 kB / 476 MB, free: 6.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.4866, allocations: 227.9 kB / 476.3 MB, free: 5.762 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.4869, allocations: 281 kB / 476.5 MB, free: 5.484 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.652e-05/0.487, allocations: 73.66 kB / 476.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.4871, allocations: 161.2 kB / 476.8 MB, free: 5.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4872, allocations: 114.6 kB / 476.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.4872, allocations: 0 / 476.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4874, allocations: 362.7 kB / 477.2 MB, free: 4.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.4877, allocations: 209.5 kB / 477.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.4881, allocations: 296.9 kB / 477.7 MB, free: 4.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.4887, allocations: 256.4 kB / 478 MB, free: 4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4887, allocations: 4 kB / 478 MB, free: 3.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001105/0.4898, allocations: 0.6205 MB / 478.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.4899, allocations: 11.95 kB / 478.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.4899, allocations: 8 kB / 478.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4899, allocations: 4 kB / 478.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.4903, allocations: 84.02 kB / 478.7 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4903, allocations: 4 kB / 478.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.4905, allocations: 51.5 kB / 478.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/0.4906, allocations: 28 kB / 478.8 MB, free: 3.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 92 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.manualSeed3.state[1],manualSeed3.state[1],$PRE.manualSeed3.state[2],manualSeed3.state[2],$PRE.manualSeed3.state[3],manualSeed3.state[3],$PRE.manualSeed3.state[4],manualSeed3.state[4],$PRE.manualSeed3.r,manualSeed3.r,$PRE.manualSeed3.r_raw,manualSeed3.r_raw,$PRE.manualSeed2.state[1],manualSeed2.state[1],$PRE.manualSeed2.state[2],manualSeed2.state[2],$PRE.manualSeed2.state[3],manualSeed2.state[3],$PRE.manualSeed2.state[4],manualSeed2.state[4],$PRE.manualSeed2.r,manualSeed2.r,$PRE.manualSeed2.r_raw,manualSeed2.r_raw,$PRE.manualSeed1.state[1],manualSeed1.state[1],$PRE.manualSeed1.state[2],manualSeed1.state[2],$PRE.manualSeed1.state[3],manualSeed1.state[3],$PRE.manualSeed1.state[4],manualSeed1.state[4],$PRE.manualSeed1.r,manualSeed1.r,$PRE.manualSeed1.r_raw,manualSeed1.r_raw,$PRE.automaticSeed3.state[1],automaticSeed3.state[1],$PRE.automaticSeed3.state[2],automaticSeed3.state[2],$PRE.automaticSeed3.state[3],automaticSeed3.state[3],$PRE.automaticSeed3.state[4],automaticSeed3.state[4],$PRE.automaticSeed3.r,automaticSeed3.r,$PRE.automaticSeed3.r_raw,automaticSeed3.r_raw,$PRE.automaticSeed2.state[1],automaticSeed2.state[1],$PRE.automaticSeed2.state[2],automaticSeed2.state[2],$PRE.automaticSeed2.state[3],automaticSeed2.state[3],$PRE.automaticSeed2.state[4],automaticSeed2.state[4],$PRE.automaticSeed2.r,automaticSeed2.r,$PRE.automaticSeed2.r_raw,automaticSeed2.r_raw,$PRE.automaticSeed1.state[1],automaticSeed1.state[1],$PRE.automaticSeed1.state[2],automaticSeed1.state[2],$PRE.automaticSeed1.state[3],automaticSeed1.state[3],$PRE.automaticSeed1.state[4],automaticSeed1.state[4],$PRE.automaticSeed1.r,automaticSeed1.r,$PRE.automaticSeed1.r_raw,automaticSeed1.r_raw,globalSeed.id_impure,automaticSeed1.localSeed,automaticSeed1.actualGlobalSeed,automaticSeed2.localSeed,automaticSeed2.actualGlobalSeed,automaticSeed3.localSeed,automaticSeed3.actualGlobalSeed,manualSeed1.localSeed,manualSeed1.actualGlobalSeed,manualSeed2.localSeed,manualSeed2.actualGlobalSeed,manualSeed3.localSeed,manualSeed3.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 68 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 6 * 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.0002185/0.4908, allocations: 181.5 kB / 479 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006149/0.4914, allocations: 436.9 kB / 479.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.4915, allocations: 47.39 kB / 479.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.4916, allocations: 30.83 kB / 479.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4916, allocations: 4 kB / 479.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4916, allocations: 0 / 479.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4916, allocations: 7.984 kB / 479.5 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.492, allocations: 289.8 kB / 479.8 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.492, allocations: 8 kB / 479.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4921, allocations: 31.92 kB / 479.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.4922, allocations: 7.922 kB / 479.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.4922, allocations: 11.95 kB / 479.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4922, allocations: 3.984 kB / 479.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4922, allocations: 4 kB / 479.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.4929, allocations: 0.5558 MB / 480.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.493, allocations: 116.5 kB / 480.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.238e-05/0.4931, allocations: 31.97 kB / 480.5 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.4933, allocations: 23.97 kB / 480.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.689e-05/0.4934, allocations: 43.89 kB / 480.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.4934, allocations: 19.98 kB / 480.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.4936, allocations: 208.6 kB / 480.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4936, allocations: 0 / 480.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004059/0.494, allocations: 95.92 kB / 480.9 MB, free: 0.9102 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition6,automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4],automaticSeed1.r,automaticSeed1.r_raw,$whenCondition5,automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed2.r,automaticSeed2.r_raw,$whenCondition4,automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed3.r,automaticSeed3.r_raw,$whenCondition3,manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],manualSeed1.r,manualSeed1.r_raw,$whenCondition2,manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed2.r,manualSeed2.r_raw,$whenCondition1,manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed3.r,manualSeed3.r_raw) * Number of discrete states: 24 (manualSeed3.state[1],manualSeed3.state[2],manualSeed3.state[3],manualSeed3.state[4],manualSeed2.state[1],manualSeed2.state[2],manualSeed2.state[3],manualSeed2.state[4],manualSeed1.state[1],manualSeed1.state[2],manualSeed1.state[3],manualSeed1.state[4],automaticSeed3.state[1],automaticSeed3.state[2],automaticSeed3.state[3],automaticSeed3.state[4],automaticSeed2.state[1],automaticSeed2.state[2],automaticSeed2.state[3],automaticSeed2.state[4],automaticSeed1.state[1],automaticSeed1.state[2],automaticSeed1.state[3],automaticSeed1.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001986/0.496, allocations: 1.751 MB / 482.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007718/0.4968, allocations: 0.6117 MB / 483.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4968, allocations: 3.938 kB / 483.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.4971, allocations: 159.9 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.4973, allocations: 14.73 kB / 483.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009665/0.4982, allocations: 0.5052 MB / 483.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.4986, allocations: 0.7998 MB / 484.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.4987, allocations: 47.2 kB / 484.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.4989, allocations: 107.4 kB / 484.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4989, allocations: 0 / 484.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.5274, allocations: 7.055 MB / 492 MB, free: 5.746 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002366/0.5277, allocations: 161.5 kB / 492.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.061/2.588, allocations: 0 / 492.1 MB, free: 5.555 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Blocks_Examples_Noise_AutomaticSeed.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Noise.AutomaticSeed_res.mat does not exist to compare? outputFormat=mat