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.0008857/0.0008857, 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.0009527/0.0009527, allocations: 173 kB / 23.03 MB, free: 1.547 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.01568/0.01568, allocations: 3.157 MB / 263.1 MB, free: 10.05 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 / 333.5 MB, free: 16.04 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.382e-05, allocations: 2.312 kB / 333.5 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001548/0.001572, allocations: 0.797 MB / 334.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.005167, allocations: 374.6 kB / 334.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.005225, allocations: 4 kB / 334.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.837e-05/0.005324, allocations: 7.875 kB / 334.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.005369, allocations: 7.875 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.0004435/0.005812, allocations: 119.5 kB / 334.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.005906, allocations: 51.84 kB / 334.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.005983, allocations: 8.188 kB / 334.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.006027, allocations: 39.89 kB / 334.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.785e-05/0.006065, allocations: 15.92 kB / 334.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.00608, allocations: 4 kB / 334.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.006266, allocations: 127.7 kB / 335 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.006283, allocations: 11.97 kB / 335 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.00631, allocations: 15.94 kB / 335 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.006494, allocations: 123.6 kB / 335.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.006496, allocations: 4 kB / 335.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.006497, allocations: 4 kB / 335.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.006501, allocations: 0 / 335.1 MB, free: 14.33 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.0003837/0.006885, allocations: 427.9 kB / 335.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.006916, allocations: 8.031 kB / 335.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.006961, allocations: 16.89 kB / 335.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.007082, allocations: 132.5 kB / 335.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.007099, allocations: 4.375 kB / 335.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.007119, allocations: 8.375 kB / 335.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.007241, allocations: 82.92 kB / 335.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.007248, allocations: 4.188 kB / 335.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.007258, allocations: 384 / 335.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.007266, allocations: 4.125 kB / 335.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.007311, allocations: 27.92 kB / 335.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.01074, allocations: 315.6 kB / 336.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.974e-05/0.01084, allocations: 51.09 kB / 336.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.01086, allocations: 11.69 kB / 336.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.01086, allocations: 0 / 336.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.002e-05/0.01094, allocations: 76.98 kB / 336.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.01094, allocations: 4 kB / 336.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001623/0.01111, allocations: 85.61 kB / 336.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.01113, allocations: 55.39 kB / 336.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.972e-05/0.01119, allocations: 185.9 kB / 336.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.0112, allocations: 41.62 kB / 336.7 MB, free: 12.64 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.01123, allocations: 146.9 kB / 336.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.01125, allocations: 15.86 kB / 336.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/0.01129, allocations: 39.36 kB / 336.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.01132, allocations: 0.4961 MB / 337.4 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.01135, allocations: 11.98 kB / 337.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.0114, allocations: 85.8 kB / 337.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.01148, allocations: 109.7 kB / 337.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01149, allocations: 0 / 337.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001293/0.01162, allocations: 113.5 kB / 337.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01163, allocations: 8.156 kB / 337.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.01164, allocations: 4 kB / 337.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01165, allocations: 4 kB / 337.7 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.01171, allocations: 19.92 kB / 337.7 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01171, allocations: 4 kB / 337.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.01176, allocations: 15.88 kB / 337.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.01176, allocations: 8 kB / 337.7 MB, free: 11.48 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 8.343e-05/0.01185, allocations: 179 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/0.01186, allocations: 11.95 kB / 337.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.01188, allocations: 12.44 kB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01189, allocations: 3.984 kB / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01189, allocations: 0 / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01189, allocations: 0 / 337.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.01211, allocations: 337.8 kB / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01211, allocations: 0 / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.739e-05/0.01213, allocations: 4 kB / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01214, allocations: 0 / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.01214, allocations: 0 / 338.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01215, allocations: 12 kB / 338.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01215, allocations: 11.98 kB / 338.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.01227, allocations: 231.8 kB / 338.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.01228, allocations: 15.89 kB / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.01229, allocations: 0 / 338.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.097e-05/0.01234, allocations: 7.984 kB / 338.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.01237, allocations: 4 kB / 338.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01238, allocations: 4 kB / 338.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.523e-05/0.0124, allocations: 135.2 kB / 338.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0124, allocations: 0 / 338.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.01268, allocations: 43.86 kB / 338.7 MB, free: 10.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.000323/0.013, allocations: 198.6 kB / 338.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001213/0.01313, allocations: 63.83 kB / 339 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01313, allocations: 4.062 kB / 339 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.271e-05/0.01316, allocations: 23.91 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.0002438/0.0134, allocations: 18.03 kB / 339 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.01672, allocations: 192.5 kB / 339.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.962e-05/0.01675, allocations: 59.34 kB / 339.3 MB, free: 9.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.782e-05/0.01679, allocations: 12.48 kB / 339.3 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.01681, allocations: 16.5 kB / 339.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01681, allocations: 0 / 339.3 MB, free: 9.809 MB / 266.7 MB Notification: Performance of Templates: time 0.006497/0.02331, allocations: 1.603 MB / 340.9 MB, free: 8.227 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: 3.0968741960823536]