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.001811/0.001811, allocations: 93.47 kB / 19.44 MB, free: 336 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.002003/0.002003, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.0318/0.0318, allocations: 3.147 MB / 262.7 MB, free: 10.09 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.583e-06/1.583e-06, allocations: 0 / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.958e-05, allocations: 4.703 kB / 332.7 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001697/0.001727, allocations: 0.7753 MB / 333.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.002394, allocations: 366.7 kB / 333.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.135e-05/0.002455, allocations: 4 kB / 333.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.002574, allocations: 11.88 kB / 333.9 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.643e-05/0.00262, allocations: 7.875 kB / 333.9 MB, free: 15.21 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.0004985/0.003119, allocations: 111.6 kB / 334 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.003229, allocations: 51.84 kB / 334.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.003327, allocations: 12.19 kB / 334.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.003377, allocations: 31.89 kB / 334.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.003424, allocations: 23.86 kB / 334.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.003446, allocations: 4 kB / 334.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.003682, allocations: 127.7 kB / 334.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003702, allocations: 15.97 kB / 334.3 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.003739, allocations: 15.94 kB / 334.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.004003, allocations: 135.6 kB / 334.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.004007, allocations: 0 / 334.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.004008, allocations: 0 / 334.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.004013, allocations: 0 / 334.4 MB, free: 14.69 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.000595/0.004608, allocations: 439.5 kB / 334.8 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.004647, allocations: 8.031 kB / 334.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.004705, allocations: 12.89 kB / 334.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.004868, allocations: 128.5 kB / 335 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.004892, allocations: 12.38 kB / 335 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.004916, allocations: 8.359 kB / 335 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.005081, allocations: 74.23 kB / 335.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.005093, allocations: 4.172 kB / 335.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.005105, allocations: 384 / 335.1 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.005112, allocations: 8.125 kB / 335.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.63e-05/0.005208, allocations: 31.97 kB / 335.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.005796, allocations: 335.5 kB / 335.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.005937, allocations: 55.11 kB / 335.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.865e-05/0.005976, allocations: 23.67 kB / 335.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-06/0.005985, allocations: 0 / 335.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.006116, allocations: 76.98 kB / 335.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.006117, allocations: 4 kB / 335.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002876/0.006405, allocations: 97.59 kB / 335.7 MB, free: 13.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.00643, allocations: 51.41 kB / 335.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.006512, allocations: 197.9 kB / 335.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006524, allocations: 33.7 kB / 336 MB, free: 12.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.006565, allocations: 146.9 kB / 336.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.006582, allocations: 23.84 kB / 336.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.006626, allocations: 47.36 kB / 336.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.163e-05/0.006687, allocations: 0.4922 MB / 336.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.006754, allocations: 27.92 kB / 336.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.789e-05/0.006822, allocations: 89.78 kB / 336.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.006953, allocations: 129.7 kB / 336.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.006955, allocations: 0 / 336.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001814/0.007136, allocations: 133.4 kB / 337.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.007151, allocations: 8 kB / 337.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.007157, allocations: 0 / 337.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.007172, allocations: 4 kB / 337.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.007247, allocations: 23.92 kB / 337.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.007253, allocations: 0 / 337.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.282e-05/0.007306, allocations: 11.89 kB / 337.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.007318, allocations: 15.98 kB / 337.1 MB, free: 11.71 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.0001199/0.007437, allocations: 169.4 kB / 337.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.007454, allocations: 11.95 kB / 337.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.007481, allocations: 8.438 kB / 337.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.007483, allocations: 3.938 kB / 337.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.007487, allocations: 3.984 kB / 337.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.007491, allocations: 4 kB / 337.3 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.007825, allocations: 349.8 kB / 337.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007826, allocations: 0 / 337.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.399e-05/0.00787, allocations: 4 kB / 337.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.007872, allocations: 4 kB / 337.7 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.007883, allocations: 7.984 kB / 337.7 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007885, allocations: 4 kB / 337.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.007886, allocations: 80 / 337.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.008088, allocations: 259.7 kB / 337.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.008099, allocations: 12.06 kB / 337.9 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.008118, allocations: 4 kB / 337.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.008184, allocations: 4 kB / 337.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.519e-05/0.008229, allocations: 3.984 kB / 338 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.008242, allocations: 4 kB / 338 MB, free: 10.79 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.008284, allocations: 154 kB / 338.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008284, allocations: 0 / 338.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002931/0.008577, allocations: 31.94 kB / 338.1 MB, free: 10.61 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.0005906/0.009168, allocations: 198.4 kB / 338.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.009372, allocations: 91.48 kB / 338.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009374, allocations: 0 / 338.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.009435, allocations: 27.69 kB / 338.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.009719, allocations: 11.98 kB / 338.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.01015, allocations: 188.5 kB / 338.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.83e-05/0.0102, allocations: 79.64 kB / 338.7 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.076e-05/0.01025, allocations: 20.41 kB / 338.7 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.01027, allocations: 12.5 kB / 338.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of SimCode: time 4.8e-07/0.01027, allocations: 0 / 338.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of Templates: time 0.005106/0.01538, allocations: 1.452 MB / 340.2 MB, free: 8.527 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: 4.635733644012362]