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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02622/0.02622, allocations: 3.939 MB / 308.4 MB, free: 2.977 MB / 238.1 MB " [Timeout remaining time 180] 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.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 0.001978/0.001978, allocations: 60.12 kB / 429.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2783, allocations: 52.91 MB / 482.3 MB, free: 26.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001813/0.2801, allocations: 0.813 MB / 483.1 MB, free: 26.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006075/0.2807, allocations: 377.7 kB / 483.5 MB, free: 26.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.2808, allocations: 0 / 483.5 MB, free: 26.21 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 9.566e-05/0.2808, allocations: 11.12 kB / 483.5 MB, free: 26.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.2809, allocations: 7.172 kB / 483.5 MB, free: 26.2 MB / 366.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'. Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.2813, allocations: 99.89 kB / 483.6 MB, free: 26.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.2814, allocations: 55.34 kB / 483.6 MB, free: 26.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.067e-05/0.2815, allocations: 13.14 kB / 483.6 MB, free: 26.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.223e-05/0.2815, allocations: 24.83 kB / 483.7 MB, free: 26.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.967e-05/0.2815, allocations: 28.89 kB / 483.7 MB, free: 26.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2816, allocations: 6 kB / 483.7 MB, free: 26.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2817, allocations: 98.75 kB / 483.8 MB, free: 26.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.2817, allocations: 11.06 kB / 483.8 MB, free: 26.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.2818, allocations: 33.06 kB / 483.8 MB, free: 26.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.282, allocations: 130.7 kB / 484 MB, free: 25.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.282, allocations: 0 / 484 MB, free: 25.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.282, allocations: 0 / 484 MB, free: 25.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.282, allocations: 0 / 484 MB, free: 25.98 MB / 366.1 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.0004102/0.2824, allocations: 393.1 kB / 484.3 MB, free: 25.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.2824, allocations: 16.11 kB / 484.4 MB, free: 25.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.2824, allocations: 3.969 kB / 484.4 MB, free: 25.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.2826, allocations: 189.3 kB / 484.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.2826, allocations: 3.625 kB / 484.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.2827, allocations: 10.34 kB / 484.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.2828, allocations: 70.17 kB / 484.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2828, allocations: 3.938 kB / 484.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.2828, allocations: 0 / 484.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2828, allocations: 4.609 kB / 484.6 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.2829, allocations: 34.06 kB / 484.7 MB, free: 25.31 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.2835, allocations: 338 kB / 485 MB, free: 25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.2836, allocations: 47.52 kB / 485.1 MB, free: 24.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.2837, allocations: 21.08 kB / 485.1 MB, free: 24.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.2837, allocations: 0 / 485.1 MB, free: 24.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001144/0.2838, allocations: 72.62 kB / 485.1 MB, free: 24.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.2838, allocations: 3.984 kB / 485.1 MB, free: 24.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002434/0.284, allocations: 96.45 kB / 485.2 MB, free: 24.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.2841, allocations: 54.88 kB / 485.3 MB, free: 24.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.2841, allocations: 139.2 kB / 485.4 MB, free: 24.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2841, allocations: 25.7 kB / 485.5 MB, free: 24.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.2842, allocations: 106.5 kB / 485.6 MB, free: 24.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.391e-05/0.2842, allocations: 23.02 kB / 485.6 MB, free: 24.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.2842, allocations: 33.09 kB / 485.6 MB, free: 24.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.2843, allocations: 321.2 kB / 485.9 MB, free: 24.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.2843, allocations: 19.58 kB / 485.9 MB, free: 24.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.2844, allocations: 77.5 kB / 486 MB, free: 24.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.2847, allocations: 123.5 kB / 486.1 MB, free: 24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2847, allocations: 2.969 kB / 486.1 MB, free: 24 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001889/0.2849, allocations: 130.7 kB / 486.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.2849, allocations: 6 kB / 486.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2849, allocations: 3 kB / 486.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.2849, allocations: 6.906 kB / 486.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.285, allocations: 15.56 kB / 486.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.285, allocations: 2.969 kB / 486.3 MB, free: 23.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.285, allocations: 13.81 kB / 486.3 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.285, allocations: 6.391 kB / 486.3 MB, free: 23.91 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: faultTrigger.F:VARIABLE(min = 0.0 max = 1.0 fixed = true ) \"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.id_impure,globalSeed.seed,faultTrigger.r,faultTrigger.y,$whenCondition2,one.y,faultTrigger.reset,countFaults.local_set,countFaults.local_reset) * 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.749e-05/0.2851, allocations: 135.8 kB / 486.5 MB, free: 23.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.2852, allocations: 3.062 kB / 486.5 MB, free: 23.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2852, allocations: 11.44 kB / 486.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2852, allocations: 0 / 486.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2852, allocations: 0 / 486.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2852, allocations: 3.938 kB / 486.5 MB, free: 23.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.2855, allocations: 361.8 kB / 486.8 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2855, allocations: 4 kB / 486.8 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.2856, allocations: 9.219 kB / 486.8 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2856, allocations: 0 / 486.8 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2856, allocations: 3.938 kB / 486.8 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.2856, allocations: 3 kB / 486.9 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2856, allocations: 0 / 486.9 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.2858, allocations: 193.9 kB / 487 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.2858, allocations: 87.33 kB / 487.1 MB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.2858, allocations: 11 kB / 487.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.2859, allocations: 3.938 kB / 487.1 MB, free: 23.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.2859, allocations: 14.3 kB / 487.2 MB, free: 23.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.2859, allocations: 2.969 kB / 487.2 MB, free: 23.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.286, allocations: 94.91 kB / 487.2 MB, free: 23.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.286, allocations: 0 / 487.2 MB, free: 23.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2863, allocations: 38.52 kB / 487.3 MB, free: 23.06 MB / 366.1 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.0003622/0.2866, allocations: 189.4 kB / 487.5 MB, free: 22.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.2868, allocations: 58.78 kB / 487.5 MB, free: 22.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2868, allocations: 0 / 487.5 MB, free: 22.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.2869, allocations: 27.61 kB / 487.6 MB, free: 22.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2871, allocations: 13.55 kB / 487.6 MB, free: 22.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003706/0.2875, allocations: 193.3 kB / 487.8 MB, free: 22.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.2876, allocations: 0.6979 MB / 488.5 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.558e-05/0.2876, allocations: 16.97 kB / 488.5 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.2877, allocations: 10.47 kB / 488.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2877, allocations: 0 / 488.5 MB, free: 22.04 MB / 366.1 MB Notification: Performance of Templates: time 0.004243/0.2919, allocations: 1.451 MB / 489.9 MB, free: 21.88 MB / 366.1 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.6472730953246355]