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.001143/0.001143, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.001719/0.001719, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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.053/1.053, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.0184/0.0184, allocations: 3.16 MB / 263.4 MB, free: 9.941 MB / 250.7 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: 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.523e-06/1.523e-06, allocations: 0 / 280.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.6e-05, allocations: 6.25 kB / 280.7 MB, free: 8.66 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.00145/0.001466, allocations: 0.8412 MB / 281.5 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00062/0.002086, allocations: 378.6 kB / 281.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.002145, allocations: 0 / 281.9 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.906e-05/0.002235, allocations: 7.875 kB / 281.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/0.00229, allocations: 15.86 kB / 281.9 MB, free: 7.43 MB / 266.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.0004477/0.002738, allocations: 95.62 kB / 282 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.002845, allocations: 63.77 kB / 282.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.00292, allocations: 16.12 kB / 282.1 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.013e-05/0.00297, allocations: 31.95 kB / 282.1 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.00301, allocations: 23.91 kB / 282.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.003025, allocations: 4 kB / 282.2 MB, free: 7.195 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.003228, allocations: 123.7 kB / 282.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.003248, allocations: 15.92 kB / 282.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.003273, allocations: 19.98 kB / 282.3 MB, free: 7.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001741/0.003447, allocations: 123.5 kB / 282.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.003448, allocations: 0 / 282.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.00345, allocations: 4 kB / 282.4 MB, free: 6.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.003454, allocations: 4 kB / 282.4 MB, free: 6.91 MB / 266.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.0006004/0.004054, allocations: 284.6 kB / 282.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.004086, allocations: 12.03 kB / 282.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.858e-05/0.004115, allocations: 8.922 kB / 282.7 MB, free: 6.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.004249, allocations: 129.6 kB / 282.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.004265, allocations: 4.375 kB / 282.9 MB, free: 6.434 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.004283, allocations: 8.375 kB / 282.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004392, allocations: 74.92 kB / 283 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.0044, allocations: 192 / 283 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.004408, allocations: 384 / 283 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.004415, allocations: 8.125 kB / 283 MB, free: 6.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.21e-05/0.004447, allocations: 23.92 kB / 283 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003535/0.0048, allocations: 204.1 kB / 283.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.792e-05/0.004878, allocations: 42.55 kB / 283.2 MB, free: 6.047 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.004894, allocations: 16.8 kB / 283.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.004903, allocations: 0 / 283.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.939e-05/0.004983, allocations: 59.33 kB / 283.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.004984, allocations: 0 / 283.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001055/0.005089, allocations: 65.66 kB / 283.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.005122, allocations: 59.41 kB / 283.4 MB, free: 5.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.005195, allocations: 138 kB / 283.6 MB, free: 5.672 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.005208, allocations: 25.7 kB / 283.6 MB, free: 5.641 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.005249, allocations: 104.2 kB / 283.7 MB, free: 5.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.005266, allocations: 15.89 kB / 283.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.005301, allocations: 37.69 kB / 283.7 MB, free: 5.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.236e-05/0.005373, allocations: 318.8 kB / 284 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.005387, allocations: 8 kB / 284.1 MB, free: 5.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.005424, allocations: 61.88 kB / 284.1 MB, free: 5.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.79e-05/0.005502, allocations: 93.88 kB / 284.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.005504, allocations: 0 / 284.2 MB, free: 4.949 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.978e-05/0.005604, allocations: 101.4 kB / 284.3 MB, free: 4.844 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005616, allocations: 8 kB / 284.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00562, allocations: 0 / 284.3 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.005635, allocations: 8.156 kB / 284.3 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.005688, allocations: 23.92 kB / 284.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.005691, allocations: 0 / 284.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.005725, allocations: 11.95 kB / 284.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.005731, allocations: 4 kB / 284.4 MB, free: 4.789 MB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: faultTrigger.F:VARIABLE(min = 0.0 max = 1.0 fixed = true stateSelect=StateSelect.always ) \"The current probability to have failed already\" type: Real 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 9.573e-05/0.005827, allocations: 128.9 kB / 284.5 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.005837, allocations: 11.92 kB / 284.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.263e-05/0.00586, allocations: 12.44 kB / 284.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005862, allocations: 4 kB / 284.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.005863, allocations: 0 / 284.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.005867, allocations: 3.938 kB / 284.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.006061, allocations: 231.1 kB / 284.7 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006062, allocations: 4 kB / 284.7 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.006084, allocations: 4 kB / 284.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.006086, allocations: 0 / 284.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006092, allocations: 4 kB / 284.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.006093, allocations: 80 / 284.8 MB, free: 4.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.006095, allocations: 3.984 kB / 284.8 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.006214, allocations: 171.3 kB / 284.9 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-06/0.006222, allocations: 7.984 kB / 284.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.006232, allocations: 0 / 284.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.006267, allocations: 8 kB / 284.9 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.006288, allocations: 3.984 kB / 284.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.006298, allocations: 4 kB / 284.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.44e-05/0.006313, allocations: 16.84 kB / 285 MB, free: 4.129 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006313, allocations: 0 / 285 MB, free: 4.129 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.006499, allocations: 43.88 kB / 285 MB, free: 4.086 MB / 266.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.0003183/0.006818, allocations: 198.1 kB / 285.2 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.228e-05/0.00691, allocations: 63.92 kB / 285.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.006914, allocations: 320 / 285.3 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.00694, allocations: 21.09 kB / 285.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.007083, allocations: 19.92 kB / 285.3 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.007355, allocations: 184.8 kB / 285.5 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.007387, allocations: 59.36 kB / 285.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.165e-05/0.007419, allocations: 8.484 kB / 285.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.007463, allocations: 67.3 kB / 285.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007464, allocations: 0 / 285.6 MB, free: 3.469 MB / 266.7 MB Notification: Performance of Templates: time 0.003073/0.01054, allocations: 1.65 MB / 287.3 MB, free: 1.828 MB / 266.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.765320793259889]