Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.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.0007477/0.0007477, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001777, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006955/0.0006955, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008496/0.001545, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.068/1.068, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09653/1.165, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo): time 0.01552/0.01552, allocations: 3.151 MB / 247.1 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002349/0.01787, allocations: 1.196 MB / 248.3 MB, free: 10.7 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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: translateModel(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") translateModel(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 249.6 MB, free: 9.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.811e-05, allocations: 2.312 kB / 249.6 MB, free: 9.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001449/0.001467, allocations: 0.8385 MB / 250.4 MB, free: 8.605 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004653/0.001932, allocations: 382.5 kB / 250.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.587e-05/0.001988, allocations: 0 / 250.8 MB, free: 8.23 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.002036, allocations: 7.875 kB / 250.8 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.455e-05/0.00207, allocations: 7.875 kB / 250.8 MB, free: 8.215 MB / 250.7 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'. Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.00238, allocations: 103.7 kB / 250.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.002473, allocations: 63.72 kB / 251 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/0.00254, allocations: 16.11 kB / 251 MB, free: 8.031 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.002596, allocations: 39.89 kB / 251 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.002642, allocations: 15.98 kB / 251 MB, free: 7.977 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.002655, allocations: 4 kB / 251 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.002847, allocations: 123.8 kB / 251.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.002864, allocations: 11.94 kB / 251.2 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.002886, allocations: 15.94 kB / 251.2 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.003058, allocations: 103.6 kB / 251.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.809e-05/0.003076, allocations: 4 kB / 251.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.003077, allocations: 0 / 251.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.003093, allocations: 0 / 251.3 MB, free: 7.719 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004746/0.003568, allocations: 312.2 kB / 251.6 MB, free: 7.391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.003599, allocations: 12.03 kB / 251.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.003632, allocations: 8.922 kB / 251.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.003761, allocations: 125.6 kB / 251.7 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.003779, allocations: 12.36 kB / 251.7 MB, free: 7.211 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.003795, allocations: 4.375 kB / 251.7 MB, free: 7.207 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.003903, allocations: 71.8 kB / 251.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.003909, allocations: 192 / 251.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.003917, allocations: 4.375 kB / 251.8 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.003924, allocations: 8.125 kB / 251.8 MB, free: 7.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.079e-05/0.003955, allocations: 19.92 kB / 251.8 MB, free: 7.098 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.004293, allocations: 200.2 kB / 252 MB, free: 6.887 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.179e-05/0.004375, allocations: 38.55 kB / 252.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.004391, allocations: 20.78 kB / 252.1 MB, free: 6.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.535e-06/0.004398, allocations: 3.984 kB / 252.1 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.213e-05/0.00449, allocations: 67.33 kB / 252.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.004492, allocations: 0 / 252.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.000119/0.004611, allocations: 61.66 kB / 252.2 MB, free: 6.668 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.004646, allocations: 55.41 kB / 252.3 MB, free: 6.602 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.004712, allocations: 142.3 kB / 252.4 MB, free: 6.453 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.004724, allocations: 25.7 kB / 252.4 MB, free: 6.422 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.004765, allocations: 104.2 kB / 252.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.004786, allocations: 15.84 kB / 252.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.004824, allocations: 41.67 kB / 252.6 MB, free: 6.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.709e-05/0.004891, allocations: 326.8 kB / 252.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.004909, allocations: 11.94 kB / 252.9 MB, free: 5.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-05/0.004943, allocations: 54 kB / 253 MB, free: 5.836 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.005005, allocations: 81.91 kB / 253.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.005007, allocations: 0 / 253.1 MB, free: 5.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.825e-05/0.005096, allocations: 101.4 kB / 253.2 MB, free: 5.629 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.005107, allocations: 4 kB / 253.2 MB, free: 5.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.005112, allocations: 4 kB / 253.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.00512, allocations: 0 / 253.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.005181, allocations: 28.14 kB / 253.2 MB, free: 5.594 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.005184, allocations: 3.938 kB / 253.2 MB, free: 5.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.005217, allocations: 7.953 kB / 253.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.005224, allocations: 8 kB / 253.2 MB, free: 5.574 MB / 250.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: 13 ($PRE.faultTrigger.y,$whenCondition1,countFaults.y,$PRE.countFaults.y,globalSeed.seed,globalSeed.id_impure,faultTrigger.r,faultTrigger.y,$whenCondition2,countFaults.local_reset,countFaults.local_set,faultTrigger.reset,one.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.284e-05/0.005287, allocations: 125.8 kB / 253.3 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.756e-06/0.005295, allocations: 7.938 kB / 253.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.005318, allocations: 8.438 kB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.005324, allocations: 7.984 kB / 253.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005325, allocations: 0 / 253.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005328, allocations: 0 / 253.4 MB, free: 5.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.005541, allocations: 226.7 kB / 253.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.005542, allocations: 0 / 253.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.005573, allocations: 4 kB / 253.6 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.005581, allocations: 11.94 kB / 253.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.005583, allocations: 0 / 253.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.00559, allocations: 4 kB / 253.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.005592, allocations: 7.938 kB / 253.6 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.005594, allocations: 0 / 253.6 MB, free: 5.141 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.0057, allocations: 159.9 kB / 253.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.005713, allocations: 7.984 kB / 253.8 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.005747, allocations: 4.031 kB / 253.8 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.00577, allocations: 7.984 kB / 253.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.00578, allocations: 0 / 253.8 MB, free: 4.949 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.171e-05/0.005801, allocations: 24.83 kB / 253.8 MB, free: 4.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005801, allocations: 0 / 253.8 MB, free: 4.922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001784/0.00598, allocations: 31.94 kB / 253.8 MB, free: 4.891 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (faultTrigger.F) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,faultTrigger.y,faultTrigger.r,countFaults.y) * Number of discrete states: 2 (faultTrigger.y,countFaults.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003724/0.006352, allocations: 226.4 kB / 254.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.182e-05/0.006444, allocations: 56.7 kB / 254.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.006454, allocations: 0 / 254.1 MB, free: 4.664 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.006481, allocations: 20.84 kB / 254.1 MB, free: 4.641 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.006631, allocations: 24.17 kB / 254.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.006925, allocations: 172.7 kB / 254.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.006961, allocations: 59.34 kB / 254.4 MB, free: 4.344 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.912e-05/0.007, allocations: 16.47 kB / 254.4 MB, free: 4.328 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.007049, allocations: 63.34 kB / 254.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007049, allocations: 0 / 254.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of Templates: time 0.003408/0.01046, allocations: 1.685 MB / 256.2 MB, free: 2.598 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.makefile [Timeout 660] (rm -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe ; mkfifo AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe ; head -c 1048576 < AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe >> ../files/AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.sim & ./AdvancedNoise_AdvancedNoise.Examples.FaultTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.589980577118695]