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.001407/0.001407, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001528/0.001528, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.0291/0.0291, allocations: 3.158 MB / 262.7 MB, free: 10.08 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.543e-06/1.543e-06, allocations: 0 / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.647e-05, allocations: 2.312 kB / 332.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001719/0.001746, allocations: 0.7784 MB / 333.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007108/0.002456, allocations: 374.7 kB / 333.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.002516, allocations: 0 / 333.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001104/0.002627, allocations: 7.875 kB / 333.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.521e-05/0.002672, allocations: 7.938 kB / 333.9 MB, free: 15.23 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.0004618/0.003134, allocations: 107.5 kB / 334 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.441e-05/0.003228, allocations: 55.84 kB / 334 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.003316, allocations: 12.17 kB / 334.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.003365, allocations: 31.91 kB / 334.1 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.003406, allocations: 19.91 kB / 334.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.003425, allocations: 8 kB / 334.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.003625, allocations: 123.7 kB / 334.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.003646, allocations: 15.97 kB / 334.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.003686, allocations: 15.94 kB / 334.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.003898, allocations: 139.5 kB / 334.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.0039, allocations: 0 / 334.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003901, allocations: 0 / 334.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.003905, allocations: 0 / 334.4 MB, free: 14.71 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.0004431/0.004348, allocations: 330.8 kB / 334.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.00438, allocations: 8.031 kB / 334.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.004437, allocations: 12.89 kB / 334.7 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.004584, allocations: 125.7 kB / 334.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.004605, allocations: 8.375 kB / 334.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.004631, allocations: 4.375 kB / 334.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.004784, allocations: 74.22 kB / 335 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.004794, allocations: 192 / 335 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.004806, allocations: 4.375 kB / 335 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.004811, allocations: 4.125 kB / 335 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.723e-05/0.004908, allocations: 31.97 kB / 335 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.005427, allocations: 272.2 kB / 335.3 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.005581, allocations: 54.61 kB / 335.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.005625, allocations: 16.86 kB / 335.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.005638, allocations: 0 / 335.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001151/0.005753, allocations: 75.3 kB / 335.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.005754, allocations: 0 / 335.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002637/0.006018, allocations: 97.62 kB / 335.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.006041, allocations: 51.41 kB / 335.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.653e-05/0.006108, allocations: 130 kB / 335.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.006119, allocations: 29.7 kB / 335.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.006156, allocations: 100.2 kB / 335.8 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.006172, allocations: 31.78 kB / 335.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.034e-05/0.006212, allocations: 37.7 kB / 335.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.006256, allocations: 326.8 kB / 336.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.006315, allocations: 23.92 kB / 336.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.854e-05/0.006383, allocations: 64.81 kB / 336.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.006632, allocations: 117.9 kB / 336.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.006635, allocations: 4 kB / 336.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001987/0.006834, allocations: 141.4 kB / 336.5 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.006845, allocations: 8 kB / 336.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006849, allocations: 0 / 336.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.006868, allocations: 4 kB / 336.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.006951, allocations: 15.94 kB / 336.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.006958, allocations: 7.984 kB / 336.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.007017, allocations: 15.89 kB / 336.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.007026, allocations: 4 kB / 336.6 MB, free: 12.3 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.id_impure,globalSeed.seed,faultTrigger.y,faultTrigger.r,$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.344e-05/0.007119, allocations: 126.7 kB / 336.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.883e-05/0.007138, allocations: 15.95 kB / 336.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.007161, allocations: 8.422 kB / 336.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007163, allocations: 3.938 kB / 336.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.007167, allocations: 0 / 336.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.00717, allocations: 0 / 336.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.007479, allocations: 290.6 kB / 337 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00748, allocations: 0 / 337 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.007529, allocations: 15.98 kB / 337 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007531, allocations: 0 / 337 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.007541, allocations: 4 kB / 337 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.007542, allocations: 80 / 337 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.007543, allocations: 3.984 kB / 337 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.007757, allocations: 203.3 kB / 337.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.007768, allocations: 12.11 kB / 337.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.007785, allocations: 0 / 337.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.424e-05/0.007869, allocations: 7.922 kB / 337.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.007906, allocations: 4 kB / 337.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.007917, allocations: 8.062 kB / 337.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.504e-05/0.007952, allocations: 100.6 kB / 337.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007952, allocations: 0 / 337.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.008233, allocations: 39.92 kB / 337.4 MB, free: 11.41 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,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.0004185/0.008651, allocations: 204 kB / 337.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001759/0.008827, allocations: 63.84 kB / 337.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.008829, allocations: 0 / 337.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.573e-05/0.008884, allocations: 19.98 kB / 337.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.009147, allocations: 12 kB / 337.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.009531, allocations: 182.9 kB / 337.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.009574, allocations: 79.64 kB / 338 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.402e-05/0.009618, allocations: 20.41 kB / 338 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.009641, allocations: 12.5 kB / 338 MB, free: 10.81 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.009642, allocations: 0 / 338 MB, free: 10.81 MB / 266.7 MB Notification: Performance of Templates: time 0.004172/0.01381, allocations: 1.453 MB / 339.4 MB, free: 9.363 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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.412000145995989]