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.001315/0.001315, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001607/0.001607, allocations: 214.6 kB / 22.25 MB, free: 5.082 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.553/1.553, allocations: 230.6 MB / 256 MB, free: 8.016 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.02914/0.02914, allocations: 3.925 MB / 316.4 MB, free: 15.34 MB / 254.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AdvancedNoise.Examples.SignalBasedNoise,fileNamePrefix="AdvancedNoise_AdvancedNoise_Examples_SignalBasedNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 67.89 kB / 439.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1061, allocations: 54.14 MB / 493.9 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.0032/0.1093, allocations: 1.493 MB / 495.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1118, allocations: 1.133 MB / 496.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.1119, allocations: 3.938 kB / 496.5 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.112, allocations: 11.88 kB / 496.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.1122, allocations: 19.86 kB / 496.6 MB, free: 3.07 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:248:3-259: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.0008879/0.1131, allocations: 195.3 kB / 496.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1134, allocations: 123.7 kB / 496.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1135, allocations: 8 kB / 496.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001932/0.1137, allocations: 51.77 kB / 496.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1138, allocations: 47.83 kB / 497 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.1138, allocations: 4 kB / 497 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000498/0.1143, allocations: 207.7 kB / 497.2 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.154e-05/0.1143, allocations: 27.91 kB / 497.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.1144, allocations: 35.73 kB / 497.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005099/0.1149, allocations: 207.3 kB / 497.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1149, allocations: 0 / 497.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1149, allocations: 0 / 497.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1149, allocations: 0 / 497.4 MB, free: 2.18 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.0006504/0.1156, allocations: 357.4 kB / 497.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1156, allocations: 8.031 kB / 497.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.509e-05/0.1157, allocations: 38.75 kB / 497.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004435/0.1161, allocations: 56.77 kB / 497.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1164, allocations: 158.8 kB / 498.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1164, allocations: 384 / 498.1 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1164, allocations: 15.92 kB / 498.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1166, allocations: 81.58 kB / 498.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1167, allocations: 0 / 498.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1167, allocations: 0 / 498.1 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1167, allocations: 8 kB / 498.2 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.1168, allocations: 63.89 kB / 498.2 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.1174, allocations: 319.8 kB / 498.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.1176, allocations: 70.55 kB / 498.6 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.1177, allocations: 48.77 kB / 498.6 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1177, allocations: 8.031 kB / 498.7 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.1178, allocations: 34.55 kB / 498.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1178, allocations: 0 / 498.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004283/0.1182, allocations: 149.7 kB / 498.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.1183, allocations: 51.41 kB / 498.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1184, allocations: 148.8 kB / 499 MB, free: 440 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.1184, allocations: 33.7 kB / 499.1 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.1185, allocations: 104.1 kB / 499.2 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1185, allocations: 19.8 kB / 499.2 MB, free: 272 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.1186, allocations: 33.69 kB / 499.2 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1188, allocations: 322.8 kB / 499.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.1189, allocations: 35.92 kB / 499.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.364e-05/0.1189, allocations: 43.86 kB / 499.6 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.1191, allocations: 84.83 kB / 499.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1191, allocations: 4 kB / 499.7 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002783/0.1194, allocations: 133.5 kB / 499.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1194, allocations: 4 kB / 499.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1194, allocations: 3.938 kB / 499.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1194, allocations: 0 / 499.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.1196, allocations: 23.92 kB / 499.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1196, allocations: 4.25 kB / 499.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.1196, allocations: 8 kB / 499.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.1197, allocations: 27.95 kB / 499.9 MB, free: 15.53 MB / 366.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 0.0001182/0.1198, allocations: 124.8 kB / 0.4883 GB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.1198, allocations: 7.953 kB / 0.4883 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.778e-05/0.1199, allocations: 16.66 kB / 0.4883 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1199, allocations: 0 / 0.4883 GB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1199, allocations: 7.938 kB / 0.4883 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1199, allocations: 3.984 kB / 0.4883 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.1201, allocations: 180.6 kB / 0.4885 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1201, allocations: 0 / 0.4885 GB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.1202, allocations: 19.92 kB / 0.4885 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1202, allocations: 0 / 0.4885 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1202, allocations: 7.984 kB / 0.4885 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1202, allocations: 0 / 0.4885 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.1202, allocations: 7.922 kB / 0.4885 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.1206, allocations: 211.5 kB / 0.4887 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.1206, allocations: 27.86 kB / 0.4888 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1206, allocations: 0 / 0.4888 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.1207, allocations: 4 kB / 0.4888 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1208, allocations: 11.92 kB / 0.4888 GB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.1208, allocations: 30.95 kB / 0.4888 GB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1209, allocations: 111.2 kB / 0.4889 GB, free: 14.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1209, allocations: 0 / 0.4889 GB, free: 14.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003555/0.1213, allocations: 59.8 kB / 0.489 GB, free: 14.64 MB / 366.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.001193/0.1225, allocations: 0.8906 MB / 0.4898 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1227, allocations: 91.75 kB / 0.4899 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1227, allocations: 0 / 0.4899 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1228, allocations: 47.97 kB / 0.49 GB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.1231, allocations: 7.938 kB / 0.49 GB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.1253, allocations: 1.613 MB / 0.4916 GB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.1257, allocations: 0.7002 MB / 0.4922 GB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.17e-05/0.1258, allocations: 28.59 kB / 0.4923 GB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.1259, allocations: 35.39 kB / 0.4923 GB, free: 11.14 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1259, allocations: 0 / 0.4923 GB, free: 11.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.1595, allocations: 3.791 MB / 0.496 GB, free: 7.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.1, allocations: 0 / 0.496 GB, free: 7.457 MB / 366.1 MB " [Timeout remaining time 649] (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 sys.exit(0), Time elapsed: 13.96565561904572] Failed to read output from testmodel.py, exit status != 0: 11.21602177596651 11.414463868 11.296523524 Calling exit ...