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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 114.6 kB / 17.16 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 212.6 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo): time 0.02835/0.02835, allocations: 3.927 MB / 313.5 MB, free: 2.105 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AdvancedNoise requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 70.19 kB / 435.3 MB, free: 38.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 54.1 MB / 489.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.002458/0.1096, allocations: 1.49 MB / 490.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1115, allocations: 1.111 MB / 492 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.1115, allocations: 1.188 kB / 492 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1117, allocations: 13.09 kB / 492 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.1119, allocations: 23.58 kB / 492 MB, free: 11.3 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Generators/QuickXorshift64star/package.mo:6:13-93:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.generator.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise master/Sources/SignalBasedNoise.mo:250:3-261:19:writable] Warning: Pure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.initialState' contains a call to impure function 'AdvancedNoise.Examples.SignalBasedNoise.signalBasedNoise.convertRealToIntegers'. Notification: Performance of NFTyping.typeClassSections: time 0.0005787/0.1124, allocations: 182.6 kB / 492.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.1126, allocations: 122.5 kB / 492.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1127, allocations: 5.125 kB / 492.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.1129, allocations: 55.05 kB / 492.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.113, allocations: 45.83 kB / 492.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.113, allocations: 5.5 kB / 492.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.1133, allocations: 176 kB / 492.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.949e-05/0.1133, allocations: 23.98 kB / 492.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.1134, allocations: 43.97 kB / 492.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1137, allocations: 206 kB / 492.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1137, allocations: 0 / 492.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1137, allocations: 0 / 492.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1137, allocations: 0 / 492.8 MB, free: 10.76 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.0005869/0.1143, allocations: 431.6 kB / 493.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.1143, allocations: 9.625 kB / 493.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.178e-05/0.1144, allocations: 5.562 kB / 493.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.1144, allocations: 36.06 kB / 493.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/0.1148, allocations: 49.08 kB / 493.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.1151, allocations: 214.4 kB / 493.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1151, allocations: 9.5 kB / 493.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1151, allocations: 4.125 kB / 493.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1153, allocations: 84.95 kB / 493.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1153, allocations: 1.375 kB / 493.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1153, allocations: 4 kB / 493.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1153, allocations: 1.375 kB / 493.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.1155, allocations: 59.52 kB / 493.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005059/0.116, allocations: 360.8 kB / 494.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.1162, allocations: 79.53 kB / 494.2 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.1163, allocations: 34.72 kB / 494.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.1163, allocations: 1.375 kB / 494.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.1163, allocations: 31.94 kB / 494.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.423e-06/0.1163, allocations: 0 / 494.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000385/0.1167, allocations: 160.9 kB / 494.4 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1167, allocations: 52.78 kB / 494.4 MB, free: 9.289 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.1168, allocations: 148.4 kB / 494.6 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.1168, allocations: 30.55 kB / 494.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/0.1169, allocations: 100.5 kB / 494.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.1169, allocations: 27.23 kB / 494.7 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.117, allocations: 30.92 kB / 494.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.117, allocations: 325.7 kB / 495.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.741e-05/0.1171, allocations: 30.7 kB / 495.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.1172, allocations: 43.28 kB / 495.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1173, allocations: 86.61 kB / 495.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1173, allocations: 0 / 495.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.1176, allocations: 134.3 kB / 495.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1176, allocations: 7.406 kB / 495.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1176, allocations: 11.98 kB / 495.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1176, allocations: 0.9688 kB / 495.4 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.1177, allocations: 23.11 kB / 495.4 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1177, allocations: 5.344 kB / 495.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.1178, allocations: 9.531 kB / 495.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.1178, allocations: 27.73 kB / 495.5 MB, free: 8.445 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 (globalSeed.seed,signalBasedNoise.actualGlobalSeed,globalSeed.id_impure,signalBasedNoise.localSeed) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.005e-05/0.1179, allocations: 120.8 kB / 495.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1179, allocations: 7.422 kB / 495.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/0.118, allocations: 23.11 kB / 495.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.118, allocations: 5.219 kB / 495.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.118, allocations: 5.5 kB / 495.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.118, allocations: 0 / 495.6 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.1182, allocations: 204.2 kB / 495.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1182, allocations: 0 / 495.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.1182, allocations: 14.02 kB / 495.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1182, allocations: 1.125 kB / 495.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1183, allocations: 1.125 kB / 495.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1183, allocations: 1.281 kB / 495.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1183, allocations: 7.938 kB / 495.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1185, allocations: 225 kB / 496.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.1186, allocations: 98.81 kB / 496.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1186, allocations: 5.344 kB / 496.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.455e-05/0.1187, allocations: 0 / 496.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.1187, allocations: 12.05 kB / 496.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.1188, allocations: 29.95 kB / 496.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.173e-05/0.1188, allocations: 110 kB / 496.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1188, allocations: 0 / 496.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.1192, allocations: 55.59 kB / 496.4 MB, free: 7.621 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: 1 (signalBasedNoise.localSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008596/0.12, allocations: 0.8854 MB / 497.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.1203, allocations: 91.45 kB / 497.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1203, allocations: 0 / 497.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.1204, allocations: 44.22 kB / 497.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.1206, allocations: 6.844 kB / 497.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1223, allocations: 1.619 MB / 499 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.1225, allocations: 0.7041 MB / 499.7 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.754e-05/0.1226, allocations: 32.8 kB / 499.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.1227, allocations: 31.42 kB / 499.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1227, allocations: 0 / 499.8 MB, free: 4.477 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.1445, allocations: 3.674 MB / 0.4916 GB, free: 0.8867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.415/8.559, allocations: 10.81 kB / 0.4917 GB, free: 0.8789 MB / 350.1 MB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise.fmu > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.435182795976289] Failed to read output from testmodel.py, exit status != 0: 8.689858110970818 8.717046106 8.598456476 Calling exit ...