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.001401/0.001401, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001568/0.001568, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9883/0.9883, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.01583/0.01583, allocations: 3.156 MB / 264.2 MB, free: 9.895 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.613e-06/1.613e-06, allocations: 0 / 334.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.532e-05/2.693e-05, allocations: 6.312 kB / 334.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001512/0.001539, allocations: 0.7791 MB / 335.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005195/0.002059, allocations: 378.6 kB / 335.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.002118, allocations: 0 / 335.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.57e-05/0.002214, allocations: 7.875 kB / 335.8 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.002258, allocations: 19.86 kB / 335.9 MB, free: 14.58 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.0003685/0.002626, allocations: 99.62 kB / 336 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.002705, allocations: 59.83 kB / 336 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.002775, allocations: 12.17 kB / 336 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.002812, allocations: 31.91 kB / 336.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.00285, allocations: 23.91 kB / 336.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.002863, allocations: 4 kB / 336.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.003006, allocations: 119.7 kB / 336.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.003021, allocations: 11.98 kB / 336.2 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.003041, allocations: 31.91 kB / 336.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.003188, allocations: 119.6 kB / 336.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.00319, allocations: 0 / 336.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003191, allocations: 0 / 336.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.003195, allocations: 0 / 336.4 MB, free: 14.07 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.0003147/0.00351, allocations: 423.9 kB / 336.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.00354, allocations: 12.03 kB / 336.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.003572, allocations: 16.89 kB / 336.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.003682, allocations: 136.5 kB / 336.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.003696, allocations: 4.375 kB / 336.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.003713, allocations: 12.38 kB / 337 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.676e-05/0.00381, allocations: 74.91 kB / 337 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.003815, allocations: 192 / 337 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.003824, allocations: 4.375 kB / 337 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003829, allocations: 8.125 kB / 337 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.67e-05/0.003856, allocations: 11.98 kB / 337.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.0042, allocations: 304.2 kB / 337.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.004274, allocations: 51.05 kB / 337.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.004288, allocations: 15.67 kB / 337.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.004294, allocations: 4 kB / 337.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.815e-05/0.004362, allocations: 73.03 kB / 337.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.004363, allocations: 3.938 kB / 337.5 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001227/0.004486, allocations: 73.62 kB / 337.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.00451, allocations: 51.41 kB / 337.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.00456, allocations: 193.4 kB / 337.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.004568, allocations: 29.7 kB / 337.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.004598, allocations: 150.9 kB / 338 MB, free: 12.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.403e-05/0.004612, allocations: 19.84 kB / 338 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.004643, allocations: 43.34 kB / 338 MB, free: 12.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.004684, allocations: 0.4923 MB / 338.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.0047, allocations: 11.98 kB / 338.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-05/0.00474, allocations: 84.25 kB / 338.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.985e-05/0.00481, allocations: 97.72 kB / 338.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.004813, allocations: 7.938 kB / 338.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001051/0.004918, allocations: 109.4 kB / 338.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.004929, allocations: 8 kB / 338.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004933, allocations: 0 / 338.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-06/0.00494, allocations: 4 kB / 338.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.004987, allocations: 19.98 kB / 338.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.175e-06/0.00499, allocations: 3.938 kB / 338.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.005021, allocations: 15.89 kB / 338.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.005026, allocations: 4 kB / 338.9 MB, free: 11.28 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.seed,globalSeed.id_impure,faultTrigger.y,faultTrigger.r,$whenCondition2,countFaults.local_reset,countFaults.local_set,faultTrigger.reset,one.y) * 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 7.773e-05/0.005104, allocations: 181.4 kB / 339.1 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.005113, allocations: 7.953 kB / 339.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.005131, allocations: 8.438 kB / 339.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.005133, allocations: 4 kB / 339.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.005134, allocations: 0 / 339.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.005137, allocations: 0 / 339.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.005317, allocations: 314.3 kB / 339.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005318, allocations: 0 / 339.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.1e-05/0.005339, allocations: 8 kB / 339.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.005341, allocations: 0 / 339.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.005348, allocations: 11.98 kB / 339.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005349, allocations: 80 / 339.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.00535, allocations: 3.984 kB / 339.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.125e-05/0.005441, allocations: 243.7 kB / 339.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.005448, allocations: 3.953 kB / 339.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.005458, allocations: 4 kB / 339.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.005491, allocations: 7.984 kB / 339.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.173e-05/0.005513, allocations: 4 kB / 339.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.005523, allocations: 3.984 kB / 339.7 MB, free: 10.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.005544, allocations: 135.2 kB / 339.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005544, allocations: 4.031 kB / 339.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001931/0.005737, allocations: 39.88 kB / 339.9 MB, free: 10.25 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.0002899/0.006027, allocations: 202.7 kB / 340.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.803e-05/0.006115, allocations: 61.91 kB / 340.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.006116, allocations: 4 kB / 340.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.551e-05/0.006142, allocations: 19.91 kB / 340.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.006324, allocations: 19.92 kB / 340.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.006587, allocations: 180.6 kB / 340.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.195e-05/0.006609, allocations: 59.34 kB / 340.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.006645, allocations: 20.8 kB / 340.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.006684, allocations: 82.19 kB / 340.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.006685, allocations: 0 / 340.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of Templates: time 0.00306/0.009745, allocations: 1.662 MB / 342.2 MB, free: 7.938 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.806231716182083]