Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/AdvancedNoise 1.1.0-master/package.mo", uses=false) Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009392/0.0009392, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008917/0.0008919, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1828/0.1828, allocations: 3.874 MB / 295 MB, free: 3.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 8 kB / 356.7 MB, free: 3.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1023, allocations: 51.17 MB / 407.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.001491/0.1038, allocations: 1.19 MB / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1055, allocations: 0.9783 MB / 410.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.1056, allocations: 0 / 410.1 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.1058, allocations: 15.86 kB / 410.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.106, allocations: 15.86 kB / 410.1 MB, free: 14.08 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.1065, allocations: 139.7 kB / 410.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.1067, allocations: 103.7 kB / 410.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.1068, allocations: 11.98 kB / 410.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.385e-05/0.1068, allocations: 43.8 kB / 410.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.1069, allocations: 39.83 kB / 410.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.107, allocations: 4 kB / 410.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.1072, allocations: 151.8 kB / 410.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.832e-05/0.1073, allocations: 15.92 kB / 410.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1073, allocations: 37.64 kB / 410.6 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1076, allocations: 143.7 kB / 410.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1076, allocations: 0 / 410.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1076, allocations: 0 / 410.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1076, allocations: 0 / 410.8 MB, free: 13.39 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005202/0.1081, allocations: 415.2 kB / 411.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1082, allocations: 12.03 kB / 411.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.818e-05/0.1082, allocations: 30.56 kB / 411.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.1086, allocations: 63.77 kB / 411.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.1089, allocations: 210 kB / 411.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1089, allocations: 4 kB / 411.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1089, allocations: 4 kB / 411.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1091, allocations: 85.62 kB / 411.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.1091, allocations: 0 / 411.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.1091, allocations: 7.953 kB / 411.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1092, allocations: 0 / 411.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.1093, allocations: 59.89 kB / 411.6 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.1098, allocations: 360.7 kB / 412 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.11, allocations: 74.53 kB / 412.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/0.1101, allocations: 44.92 kB / 412.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1101, allocations: 7.891 kB / 412.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1102, allocations: 34.56 kB / 412.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.1102, allocations: 0 / 412.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003589/0.1105, allocations: 149.7 kB / 412.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1106, allocations: 59.39 kB / 412.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1107, allocations: 142.9 kB / 412.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.1107, allocations: 29.7 kB / 412.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.1108, allocations: 104 kB / 412.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.1108, allocations: 23.66 kB / 412.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.1108, allocations: 0 / 412.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.111, allocations: 326.8 kB / 413 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.111, allocations: 35.97 kB / 413 MB, free: 10.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.1111, allocations: 35.92 kB / 413 MB, free: 10.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.1112, allocations: 35.98 kB / 413.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1112, allocations: 0 / 413.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002444/0.1115, allocations: 137.5 kB / 413.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1115, allocations: 11.95 kB / 413.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1115, allocations: 0 / 413.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1115, allocations: 4 kB / 413.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1117, allocations: 23.92 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1117, allocations: 0 / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1117, allocations: 7.891 kB / 413.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.1118, allocations: 37.02 kB / 413.3 MB, free: 10.64 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (signalBasedNoise.localSeed,globalSeed.id_impure,signalBasedNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001065/0.1119, allocations: 114.5 kB / 413.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1119, allocations: 7.906 kB / 413.4 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004338/0.1124, allocations: 218 kB / 413.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-05/0.1124, allocations: 4 kB / 413.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1124, allocations: 0 / 413.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1124, allocations: 0 / 413.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.1128, allocations: 221.5 kB / 413.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.1128, allocations: 7.984 kB / 413.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.1128, allocations: 8 kB / 413.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1129, allocations: 4 kB / 413.9 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1129, allocations: 7.984 kB / 413.9 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1129, allocations: 3.953 kB / 413.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1129, allocations: 0 / 413.9 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003159/0.1132, allocations: 263.3 kB / 414.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1133, allocations: 104.8 kB / 414.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1133, allocations: 11.98 kB / 414.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.485e-05/0.1134, allocations: 11.98 kB / 414.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.1135, allocations: 15.88 kB / 414.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.1135, allocations: 27.95 kB / 414.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.196e-05/0.1136, allocations: 109.1 kB / 414.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1136, allocations: 0 / 414.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003273/0.114, allocations: 55.98 kB / 414.5 MB, free: 9.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2[1],$cse2[2],$cse4[1],$cse4[2],signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 7 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 1 * 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.0009284/0.1149, allocations: 0.9382 MB / 415.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.1151, allocations: 103.9 kB / 415.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1151, allocations: 0 / 415.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1153, allocations: 115.3 kB / 415.6 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1155, allocations: 17.78 kB / 415.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1167, allocations: 0.7428 MB / 416.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.1169, allocations: 0.7043 MB / 417.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.097e-05/0.117, allocations: 32.34 kB / 417.1 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1171, allocations: 39.41 kB / 417.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1171, allocations: 0 / 417.1 MB, free: 6.617 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.014/0.1311, allocations: 3.518 MB / 420.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/0.1313, allocations: 237.2 kB / 420.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/1.926, allocations: 0 / 420.9 MB, free: 2.965 MB / 350.1 MB (rm -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) Environment - environmentSimulation: