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: translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") translateModel(AdvancedNoise.Examples.SignalBasedNoise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 193.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1486/0.1486, allocations: 3.883 MB / 294.3 MB, free: 3.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.89 kB / 355.5 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1193, allocations: 50.18 MB / 405.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.SignalBasedNoise): time 0.005109/0.1245, allocations: 1.472 MB / 407.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.128, allocations: 1.044 MB / 408.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.1281, allocations: 4 kB / 408.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.1283, allocations: 15.81 kB / 408.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1286, allocations: 19.86 kB / 408.2 MB, free: 14.77 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-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 1.1.0-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.001112/0.1297, allocations: 187.4 kB / 408.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.13, allocations: 111.7 kB / 408.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1302, allocations: 23.91 kB / 408.5 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1304, allocations: 39.84 kB / 408.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1305, allocations: 47.77 kB / 408.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1306, allocations: 4 kB / 408.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.1311, allocations: 175.7 kB / 408.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.1312, allocations: 19.91 kB / 408.8 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.1313, allocations: 39.8 kB / 408.8 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005517/0.1319, allocations: 211.5 kB / 409 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1319, allocations: 0 / 409 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1319, allocations: 0 / 409 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.1319, allocations: 0 / 409 MB, free: 13.92 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.000953/0.1329, allocations: 423.2 kB / 409.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/0.133, allocations: 12.03 kB / 409.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007499/0.1338, allocations: 48.72 kB / 409.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.1342, allocations: 216.6 kB / 409.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1343, allocations: 384 / 409.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.1343, allocations: 16.11 kB / 409.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003119/0.1346, allocations: 81.58 kB / 409.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1347, allocations: 0 / 409.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.1347, allocations: 4 kB / 409.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1347, allocations: 0 / 409.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.135, allocations: 63.89 kB / 409.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009134/0.136, allocations: 348.8 kB / 410.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.1363, allocations: 86.56 kB / 410.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.1365, allocations: 36.84 kB / 410.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1366, allocations: 0 / 410.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.1366, allocations: 38.56 kB / 410.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.874e-06/0.1366, allocations: 0 / 410.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007179/0.1374, allocations: 161.5 kB / 410.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1375, allocations: 63.28 kB / 410.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1377, allocations: 148.8 kB / 410.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.1377, allocations: 25.7 kB / 410.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.305e-05/0.1378, allocations: 96.12 kB / 410.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.1379, allocations: 31.64 kB / 410.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.138, allocations: 33.61 kB / 410.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1382, allocations: 322.8 kB / 411.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.1384, allocations: 31.98 kB / 411.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1385, allocations: 31.98 kB / 411.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.1389, allocations: 84.77 kB / 411.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1389, allocations: 0 / 411.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000485/0.1394, allocations: 141.5 kB / 411.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1395, allocations: 4 kB / 411.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1395, allocations: 3.938 kB / 411.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1395, allocations: 4 kB / 411.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.1397, allocations: 15.98 kB / 411.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.1398, allocations: 7.984 kB / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.418e-05/0.1399, allocations: 3.938 kB / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.14, allocations: 23.95 kB / 411.6 MB, free: 11.14 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 0.0001573/0.1401, allocations: 130.3 kB / 411.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.1402, allocations: 7.906 kB / 411.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.1403, allocations: 12.72 kB / 411.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.1403, allocations: 3.938 kB / 411.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1403, allocations: 7.922 kB / 411.8 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.1404, allocations: 3.938 kB / 411.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.1408, allocations: 213.5 kB / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1408, allocations: 0 / 412 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.1409, allocations: 11.98 kB / 412 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.141, allocations: 8 kB / 412 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.141, allocations: 7.984 kB / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.141, allocations: 0 / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.141, allocations: 0 / 412 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.1416, allocations: 215.3 kB / 412.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.1417, allocations: 97 kB / 412.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.956e-05/0.1417, allocations: 3.938 kB / 412.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1419, allocations: 7.984 kB / 412.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.142, allocations: 15.88 kB / 412.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/0.1421, allocations: 28.89 kB / 412.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.1422, allocations: 108.8 kB / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 3e-07/0.1422, allocations: 0 / 412.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006105/0.1428, allocations: 55.98 kB / 412.5 MB, free: 10.12 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.0007752/0.1436, allocations: 238.9 kB / 412.8 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.1441, allocations: 99.88 kB / 412.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.1441, allocations: 4 kB / 412.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.1443, allocations: 39.97 kB / 412.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1448, allocations: 10.03 kB / 412.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.1455, allocations: 209.8 kB / 413.1 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1459, allocations: 0.7041 MB / 413.8 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.1461, allocations: 28.58 kB / 413.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.1462, allocations: 19.42 kB / 413.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.737e-06/0.1462, allocations: 0 / 413.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Templates: time 0.009166/0.1554, allocations: 2.204 MB / 416.1 MB, free: 6.57 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.makefile (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 & ./AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise -abortSlowSimulation -alarm=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.SignalBasedNoise.pipe 2>&1)