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.001331/0.001331, allocations: 93.06 kB / 19.65 MB, free: 280 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.001563/0.001563, allocations: 169 kB / 23.02 MB, free: 1.555 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.042/1.042, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.01557/0.01557, allocations: 3.156 MB / 263.1 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.674e-06/1.674e-06, allocations: 0 / 333.4 MB, free: 16.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.855e-05, allocations: 8.703 kB / 333.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001329/0.001348, allocations: 0.7869 MB / 334.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005877/0.001935, allocations: 378.6 kB / 334.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.002, allocations: 3.938 kB / 334.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.002106, allocations: 11.92 kB / 334.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.002154, allocations: 11.88 kB / 334.6 MB, free: 14.85 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.0004699/0.002624, allocations: 99.56 kB / 334.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.002733, allocations: 55.84 kB / 334.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.384e-05/0.002827, allocations: 20.16 kB / 334.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.00288, allocations: 35.91 kB / 334.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.002923, allocations: 19.91 kB / 334.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.00294, allocations: 4 kB / 334.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.003118, allocations: 119.8 kB / 335 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.003136, allocations: 11.98 kB / 335 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.003164, allocations: 19.92 kB / 335 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.003357, allocations: 123.6 kB / 335.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003359, allocations: 0 / 335.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.003359, allocations: 0 / 335.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.003364, allocations: 0 / 335.1 MB, free: 14.35 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.000396/0.00376, allocations: 435.8 kB / 335.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.003797, allocations: 12.03 kB / 335.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.003842, allocations: 12.89 kB / 335.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.003983, allocations: 128.5 kB / 335.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.004003, allocations: 12.38 kB / 335.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.004027, allocations: 4.375 kB / 335.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.004157, allocations: 78.92 kB / 335.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.004163, allocations: 192 / 335.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004175, allocations: 384 / 335.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.004183, allocations: 8.062 kB / 335.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.4e-05/0.004227, allocations: 23.98 kB / 335.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004431/0.00467, allocations: 323.6 kB / 336.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.004771, allocations: 55.03 kB / 336.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.004798, allocations: 19.67 kB / 336.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.004807, allocations: 0 / 336.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.186e-05/0.004889, allocations: 73.03 kB / 336.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.00489, allocations: 0 / 336.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001638/0.005054, allocations: 81.62 kB / 336.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.005078, allocations: 59.34 kB / 336.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.005143, allocations: 188.9 kB / 336.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.966e-06/0.005152, allocations: 29.7 kB / 336.6 MB, free: 12.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.005193, allocations: 150.9 kB / 336.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.00521, allocations: 23.84 kB / 336.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.005246, allocations: 39.36 kB / 336.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.005291, allocations: 0.4961 MB / 337.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.005315, allocations: 8 kB / 337.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.005358, allocations: 89.16 kB / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.306e-05/0.005441, allocations: 105.7 kB / 337.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.005444, allocations: 0 / 337.6 MB, free: 11.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001124/0.005556, allocations: 117.5 kB / 337.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.005569, allocations: 4 kB / 337.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.005575, allocations: 4 kB / 337.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.00559, allocations: 0 / 337.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.005645, allocations: 28.08 kB / 337.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.433e-06/0.005652, allocations: 4.391 kB / 337.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.005687, allocations: 15.89 kB / 337.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.005695, allocations: 4 kB / 337.7 MB, free: 11.49 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 0.0001022/0.005797, allocations: 181.2 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.079e-05/0.005808, allocations: 7.953 kB / 337.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.005833, allocations: 8.438 kB / 337.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.005835, allocations: 4 kB / 337.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.005839, allocations: 4 kB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005842, allocations: 0 / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.006062, allocations: 337.4 kB / 338.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006063, allocations: 0 / 338.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.006088, allocations: 11.92 kB / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.00609, allocations: 0 / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.006099, allocations: 4 kB / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.0061, allocations: 0 / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006101, allocations: 0 / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.006222, allocations: 243.8 kB / 338.5 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.00623, allocations: 19.92 kB / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.006243, allocations: 0 / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.006278, allocations: 4 kB / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.006309, allocations: 7.984 kB / 338.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.00632, allocations: 4 kB / 338.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.114e-05/0.006351, allocations: 135.2 kB / 338.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006351, allocations: 0 / 338.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00021/0.006561, allocations: 43.86 kB / 338.7 MB, free: 10.42 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.0003627/0.006924, allocations: 199.4 kB / 338.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.007047, allocations: 63.73 kB / 339 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.007049, allocations: 0 / 339 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.556e-05/0.007084, allocations: 27.62 kB / 339 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.007289, allocations: 16.23 kB / 339 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.007615, allocations: 188.4 kB / 339.2 MB, free: 9.926 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.007651, allocations: 63.34 kB / 339.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.602e-05/0.007687, allocations: 12.48 kB / 339.3 MB, free: 9.828 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.007708, allocations: 12.5 kB / 339.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007709, allocations: 0 / 339.3 MB, free: 9.816 MB / 266.7 MB Notification: Performance of Templates: time 0.003279/0.01099, allocations: 1.46 MB / 340.7 MB, free: 8.367 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 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.959707009140402]