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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02511/0.02511, allocations: 3.928 MB / 307.3 MB, free: 3.207 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001908/0.001908, allocations: 67.89 kB / 427.2 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2303, allocations: 52.91 MB / 480.1 MB, free: 26.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001735/0.232, allocations: 0.7949 MB / 480.9 MB, free: 25.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.2326, allocations: 367.2 kB / 481.3 MB, free: 25.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.2327, allocations: 0 / 481.3 MB, free: 25.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.456e-05/0.2327, allocations: 14.23 kB / 481.3 MB, free: 25.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.2328, allocations: 7.875 kB / 481.3 MB, free: 25.71 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0003765/0.2332, allocations: 102.6 kB / 481.4 MB, free: 25.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.21e-05/0.2332, allocations: 58.38 kB / 481.5 MB, free: 25.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.205e-05/0.2333, allocations: 10.19 kB / 481.5 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.796e-05/0.2333, allocations: 27.8 kB / 481.5 MB, free: 25.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.2334, allocations: 28.98 kB / 481.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2334, allocations: 6.469 kB / 481.5 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.2335, allocations: 89.61 kB / 481.6 MB, free: 25.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2336, allocations: 19.25 kB / 481.6 MB, free: 25.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.2336, allocations: 33.59 kB / 481.7 MB, free: 25.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.2338, allocations: 121.3 kB / 481.8 MB, free: 25.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2338, allocations: 0 / 481.8 MB, free: 25.49 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2338, allocations: 0 / 481.8 MB, free: 25.49 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.2338, allocations: 0 / 481.8 MB, free: 25.49 MB / 366.1 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.000378/0.2341, allocations: 395 kB / 482.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.2342, allocations: 13.41 kB / 482.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2342, allocations: 4.062 kB / 482.2 MB, free: 25.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2344, allocations: 192.7 kB / 482.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.2344, allocations: 7.188 kB / 482.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.2344, allocations: 3.75 kB / 482.4 MB, free: 24.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.2345, allocations: 68.73 kB / 482.5 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2345, allocations: 7.922 kB / 482.5 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2346, allocations: 14.42 kB / 482.5 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2346, allocations: 0 / 482.5 MB, free: 24.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/0.2347, allocations: 27.19 kB / 482.5 MB, free: 24.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/0.2351, allocations: 340.4 kB / 482.9 MB, free: 24.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.2353, allocations: 51.91 kB / 482.9 MB, free: 24.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.779e-05/0.2353, allocations: 14.98 kB / 482.9 MB, free: 24.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.2354, allocations: 4 kB / 482.9 MB, free: 24.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.2355, allocations: 73.94 kB / 483 MB, free: 24.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.2355, allocations: 0 / 483 MB, free: 24.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002233/0.2357, allocations: 89.19 kB / 483.1 MB, free: 24.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.2357, allocations: 54.44 kB / 483.1 MB, free: 24.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.998e-05/0.2358, allocations: 140.6 kB / 483.3 MB, free: 24.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.2358, allocations: 32.8 kB / 483.3 MB, free: 24.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2358, allocations: 103.2 kB / 483.4 MB, free: 24.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2358, allocations: 18.27 kB / 483.4 MB, free: 24.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.2359, allocations: 30.64 kB / 483.5 MB, free: 24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 3.635e-05/0.2359, allocations: 321.6 kB / 483.8 MB, free: 23.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.236, allocations: 24.53 kB / 483.8 MB, free: 23.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.236, allocations: 77.81 kB / 483.9 MB, free: 23.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.2363, allocations: 120 kB / 484 MB, free: 23.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2363, allocations: 3.219 kB / 484 MB, free: 23.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001884/0.2365, allocations: 133.1 kB / 484.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.2365, allocations: 6.031 kB / 484.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.2365, allocations: 3.562 kB / 484.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2365, allocations: 3.062 kB / 484.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.132e-05/0.2366, allocations: 14.62 kB / 484.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.2366, allocations: 6.125 kB / 484.1 MB, free: 23.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.703e-05/0.2366, allocations: 11 kB / 484.2 MB, free: 23.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.2366, allocations: 10.22 kB / 484.2 MB, free: 23.41 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: faultTrigger.F:VARIABLE(min = 0.0 max = 1.0 fixed = true ) \"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.r,faultTrigger.y,$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.479e-05/0.2367, allocations: 132.7 kB / 484.3 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.2367, allocations: 6.453 kB / 484.3 MB, free: 23.28 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.2368, allocations: 15.25 kB / 484.3 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2368, allocations: 0 / 484.3 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2368, allocations: 4 kB / 484.3 MB, free: 23.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2368, allocations: 3.938 kB / 484.3 MB, free: 23.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.2371, allocations: 354.6 kB / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2371, allocations: 0 / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.564e-05/0.2371, allocations: 6.484 kB / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2371, allocations: 0 / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.2371, allocations: 11 kB / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2371, allocations: 0 / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2371, allocations: 0 / 484.7 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.2373, allocations: 200.5 kB / 484.9 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.98e-05/0.2374, allocations: 89.11 kB / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.2374, allocations: 10.84 kB / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.2374, allocations: 0 / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.2375, allocations: 6.5 kB / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.2375, allocations: 2.719 kB / 485 MB, free: 22.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.843e-05/0.2375, allocations: 105.5 kB / 485.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.2375, allocations: 3.938 kB / 485.1 MB, free: 22.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.2378, allocations: 35.12 kB / 485.1 MB, free: 22.56 MB / 366.1 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,faultTrigger.y,faultTrigger.r,countFaults.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.0003422/0.2381, allocations: 178.7 kB / 485.3 MB, free: 22.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.2383, allocations: 67.42 kB / 485.4 MB, free: 22.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2383, allocations: 320 / 485.4 MB, free: 22.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.2384, allocations: 34.55 kB / 485.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.2386, allocations: 8.875 kB / 485.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003582/0.239, allocations: 214 kB / 485.6 MB, free: 22.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.2391, allocations: 0.6914 MB / 486.3 MB, free: 21.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.2391, allocations: 13.38 kB / 486.3 MB, free: 21.53 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2391, allocations: 4 kB / 486.3 MB, free: 21.52 MB / 366.1 MB Notification: Performance of Templates: time 0.003031/0.2421, allocations: 1.685 MB / 488 MB, free: 21.34 MB / 366.1 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: 6.86485766293481] Failed to read output from testmodel.py, exit status != 0: 0.2490211222320795 0.25806565200000003 0.02214924 Calling exit ...