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.001109/0.001109, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.001041/0.001041, allocations: 165 kB / 23.27 MB, free: 1.23 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.085/1.085, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.01763/0.01763, allocations: 3.152 MB / 263.4 MB, free: 9.906 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.784e-06/1.784e-06, allocations: 0 / 333.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.212e-05, allocations: 2.312 kB / 333.9 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.004717/0.00474, allocations: 0.805 MB / 334.7 MB, free: 32 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007425/0.005482, allocations: 374.7 kB / 335.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.005557, allocations: 3.938 kB / 335.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.005659, allocations: 3.938 kB / 335.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.005712, allocations: 7.875 kB / 335.1 MB, free: 15.65 MB / 314.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.0004822/0.006194, allocations: 115.5 kB / 335.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.006299, allocations: 55.84 kB / 335.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.00638, allocations: 16.16 kB / 335.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.145e-05/0.006432, allocations: 27.92 kB / 335.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.006472, allocations: 23.89 kB / 335.3 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.006489, allocations: 8 kB / 335.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001982/0.006687, allocations: 111.8 kB / 335.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.006706, allocations: 15.97 kB / 335.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.006729, allocations: 23.86 kB / 335.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.006913, allocations: 127.6 kB / 335.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.006915, allocations: 3.938 kB / 335.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006915, allocations: 4 kB / 335.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.006919, allocations: 0 / 335.6 MB, free: 15.12 MB / 314.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.003408/0.01033, allocations: 419.9 kB / 336 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.01037, allocations: 8.031 kB / 336 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.01041, allocations: 12.89 kB / 336 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.01057, allocations: 132.5 kB / 336.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.01059, allocations: 8.375 kB / 336.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.01061, allocations: 12.33 kB / 336.2 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.01075, allocations: 74.86 kB / 336.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.01075, allocations: 4.188 kB / 336.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.01076, allocations: 4.375 kB / 336.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.01077, allocations: 4.125 kB / 336.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.01081, allocations: 15.98 kB / 336.3 MB, free: 14.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.01128, allocations: 292.3 kB / 336.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.01138, allocations: 54.98 kB / 336.6 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.0114, allocations: 15.67 kB / 336.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.01141, allocations: 3.984 kB / 336.6 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.444e-05/0.0115, allocations: 72.97 kB / 336.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.0115, allocations: 4 kB / 336.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001635/0.01167, allocations: 81.56 kB / 336.8 MB, free: 13.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.0117, allocations: 51.41 kB / 336.8 MB, free: 13.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.0118, allocations: 193.6 kB / 337 MB, free: 13.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.01182, allocations: 25.7 kB / 337.1 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.01188, allocations: 151 kB / 337.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.0119, allocations: 19.84 kB / 337.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.01196, allocations: 43.34 kB / 337.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.01209, allocations: 0.4884 MB / 337.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.214e-05/0.01211, allocations: 11.98 kB / 337.8 MB, free: 12.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.01217, allocations: 81.78 kB / 337.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.01227, allocations: 101.7 kB / 337.9 MB, free: 12.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01227, allocations: 3.938 kB / 338 MB, free: 12.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001327/0.01241, allocations: 105.5 kB / 338.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.01242, allocations: 4.156 kB / 338.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01242, allocations: 8 kB / 338.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01244, allocations: 4 kB / 338.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.931e-05/0.01249, allocations: 23.92 kB / 338.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.0125, allocations: 4 kB / 338.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.01254, allocations: 15.89 kB / 338.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.01255, allocations: 4 kB / 338.1 MB, free: 12.34 MB / 314.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.y,faultTrigger.r,$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 0.0001091/0.01266, allocations: 184.4 kB / 338.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/0.01267, allocations: 11.95 kB / 338.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.0127, allocations: 8.438 kB / 338.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.0127, allocations: 0 / 338.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.0127, allocations: 4 kB / 338.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.0127, allocations: 3.938 kB / 338.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.01296, allocations: 314 kB / 338.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.01296, allocations: 3.938 kB / 338.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.01299, allocations: 4 kB / 338.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.01299, allocations: 0 / 338.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.013, allocations: 7.984 kB / 338.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.013, allocations: 0 / 338.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.013, allocations: 8 kB / 338.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003166/0.01617, allocations: 228.2 kB / 338.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.01618, allocations: 7.953 kB / 338.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.01619, allocations: 4 kB / 338.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.283e-05/0.01624, allocations: 7.984 kB / 338.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.01627, allocations: 0 / 338.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.01628, allocations: 7.984 kB / 338.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.238e-05/0.01633, allocations: 139.1 kB / 339 MB, free: 11.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01633, allocations: 0 / 339 MB, free: 11.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.01662, allocations: 39.88 kB / 339.1 MB, free: 11.31 MB / 314.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,countFaults.y,faultTrigger.r,faultTrigger.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.0003373/0.01695, allocations: 203.2 kB / 339.3 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01706, allocations: 55.84 kB / 339.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01707, allocations: 0 / 339.3 MB, free: 11.08 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.682e-05/0.0171, allocations: 27.61 kB / 339.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.01734, allocations: 23.86 kB / 339.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.01766, allocations: 175 kB / 339.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.0177, allocations: 59.34 kB / 339.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.01774, allocations: 16.86 kB / 339.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.0178, allocations: 82.25 kB / 339.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0178, allocations: 3.938 kB / 339.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of Templates: time 0.006187/0.02399, allocations: 1.652 MB / 341.4 MB, free: 9.012 MB / 314.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: 3.128532065078616]