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.001316/0.001316, allocations: 78.72 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001523/0.001523, allocations: 167.2 kB / 22.46 MB, free: 5.363 MB / 14.72 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.02852/0.02852, allocations: 3.155 MB / 262.3 MB, free: 13.71 MB / 254.1 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.824e-06/1.824e-06, allocations: 0 / 386.2 MB, free: 308 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.981e-05, allocations: 6.219 kB / 386.2 MB, free: 300 kB / 302.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002073/0.002103, allocations: 0.7832 MB / 387 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008959/0.002999, allocations: 366.7 kB / 387.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.003063, allocations: 4 kB / 387.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003167, allocations: 7.875 kB / 387.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.003218, allocations: 7.875 kB / 387.4 MB, free: 15.13 MB / 318.1 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.0005214/0.00374, allocations: 107.6 kB / 387.5 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.003868, allocations: 59.83 kB / 387.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.003958, allocations: 12.17 kB / 387.6 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.073e-05/0.004039, allocations: 35.89 kB / 387.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.00409, allocations: 19.92 kB / 387.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.004111, allocations: 4 kB / 387.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.004378, allocations: 123.7 kB / 387.7 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.004403, allocations: 12 kB / 387.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.624e-05/0.004449, allocations: 19.92 kB / 387.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.004719, allocations: 139.5 kB / 387.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.004722, allocations: 0 / 387.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004722, allocations: 3.938 kB / 387.9 MB, free: 14.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.004726, allocations: 4 kB / 387.9 MB, free: 14.59 MB / 318.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.0005772/0.005304, allocations: 314.8 kB / 388.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.005341, allocations: 12.03 kB / 388.2 MB, free: 14.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.005388, allocations: 8.891 kB / 388.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.005596, allocations: 125.8 kB / 388.4 MB, free: 14.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.005623, allocations: 8.312 kB / 388.4 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.005648, allocations: 8.375 kB / 388.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.005866, allocations: 74.22 kB / 388.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.005876, allocations: 4.125 kB / 388.5 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.005887, allocations: 4.375 kB / 388.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.005894, allocations: 4.125 kB / 388.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.006014, allocations: 31.98 kB / 388.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000657/0.006671, allocations: 268.3 kB / 388.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.006877, allocations: 54.56 kB / 388.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.006941, allocations: 16.84 kB / 388.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.006954, allocations: 0 / 388.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.007105, allocations: 63.39 kB / 388.9 MB, free: 13.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.007107, allocations: 7.938 kB / 388.9 MB, free: 13.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003103/0.007417, allocations: 109.5 kB / 389 MB, free: 13.38 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.007481, allocations: 55.41 kB / 389.1 MB, free: 13.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.007599, allocations: 130 kB / 389.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.007623, allocations: 25.7 kB / 389.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.007709, allocations: 96.27 kB / 389.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.007734, allocations: 23.84 kB / 389.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.922e-05/0.007813, allocations: 33.7 kB / 389.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.007967, allocations: 318.8 kB / 389.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.008053, allocations: 23.98 kB / 389.7 MB, free: 12.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.00816, allocations: 69.98 kB / 389.8 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.008497, allocations: 125.9 kB / 389.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0085, allocations: 0 / 389.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002644/0.008764, allocations: 125.5 kB / 390 MB, free: 12.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.008779, allocations: 8 kB / 390 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.008784, allocations: 160 / 390 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.008801, allocations: 8 kB / 390 MB, free: 12.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.914e-05/0.00889, allocations: 19.92 kB / 390.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.008898, allocations: 4 kB / 390.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.008966, allocations: 15.89 kB / 390.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.008977, allocations: 4 kB / 390.1 MB, free: 12.21 MB / 318.1 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.0001675/0.009144, allocations: 141.7 kB / 390.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.009164, allocations: 7.953 kB / 390.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.009195, allocations: 12.44 kB / 390.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.009199, allocations: 4 kB / 390.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.009203, allocations: 0 / 390.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.009206, allocations: 0 / 390.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.009663, allocations: 294.1 kB / 390.5 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.009674, allocations: 11.94 kB / 390.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.55e-05/0.00973, allocations: 4 kB / 390.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.009731, allocations: 0 / 390.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.009745, allocations: 3.984 kB / 390.5 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.009746, allocations: 3.938 kB / 390.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009747, allocations: 0 / 390.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.01005, allocations: 195.4 kB / 390.7 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.01008, allocations: 15.97 kB / 390.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.0101, allocations: 0 / 390.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.01018, allocations: 0 / 390.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.01022, allocations: 7.984 kB / 390.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.01023, allocations: 4 kB / 390.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.937e-05/0.0103, allocations: 103.1 kB / 390.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0103, allocations: 3.938 kB / 390.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.01061, allocations: 35.94 kB / 390.9 MB, free: 11.32 MB / 318.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,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.0004955/0.01111, allocations: 209.4 kB / 391.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.01131, allocations: 55.92 kB / 391.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01131, allocations: 320 / 391.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.566e-05/0.01139, allocations: 31.91 kB / 391.2 MB, free: 11.05 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.01168, allocations: 11.98 kB / 391.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.01217, allocations: 181.2 kB / 391.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.374e-05/0.01225, allocations: 75.33 kB / 391.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.0123, allocations: 12.48 kB / 391.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.01233, allocations: 16.5 kB / 391.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01233, allocations: 0 / 391.5 MB, free: 10.72 MB / 318.1 MB Notification: Performance of Templates: time 0.005078/0.01741, allocations: 1.442 MB / 392.9 MB, free: 9.297 MB / 318.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: 4.208879590034485] Failed to read output from testmodel.py, exit status != 0: 0.025857124477624893 0.04079147 0.033021717 Calling exit ...