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.0007456/0.0007456, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0007983/0.0007983, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.8524/0.8524, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.01411/0.01411, allocations: 3.137 MB / 263.1 MB, free: 10.27 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.593e-06/1.593e-06, allocations: 0 / 387 MB, free: 10.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.316e-05, allocations: 8.891 kB / 387 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001579/0.001603, allocations: 0.7831 MB / 387.8 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005227/0.002125, allocations: 374.7 kB / 388.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.002172, allocations: 0 / 388.1 MB, free: 9.418 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 7.502e-05/0.002247, allocations: 7.875 kB / 388.1 MB, free: 9.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.68e-05/0.002284, allocations: 7.875 kB / 388.1 MB, free: 9.402 MB / 314.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.0003622/0.002646, allocations: 111.5 kB / 388.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.002732, allocations: 59.83 kB / 388.3 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.133e-05/0.002804, allocations: 12.19 kB / 388.3 MB, free: 9.219 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.002846, allocations: 35.89 kB / 388.4 MB, free: 9.184 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.002884, allocations: 15.92 kB / 388.4 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.002898, allocations: 4 kB / 388.4 MB, free: 9.164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.003059, allocations: 123.7 kB / 388.5 MB, free: 9.043 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.003077, allocations: 15.92 kB / 388.5 MB, free: 9.027 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.0031, allocations: 12 kB / 388.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.00329, allocations: 143.5 kB / 388.7 MB, free: 8.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003292, allocations: 4 kB / 388.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003293, allocations: 0 / 388.7 MB, free: 8.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003297, allocations: 4 kB / 388.7 MB, free: 8.867 MB / 314.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.0003913/0.003689, allocations: 322.8 kB / 389 MB, free: 8.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.003717, allocations: 8.031 kB / 389 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.349e-05/0.003751, allocations: 8.891 kB / 389 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.003907, allocations: 121.8 kB / 389.1 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.003924, allocations: 8.375 kB / 389.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.003943, allocations: 8.312 kB / 389.1 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.004066, allocations: 70.22 kB / 389.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.004074, allocations: 192 / 389.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.004084, allocations: 4.375 kB / 389.2 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.004089, allocations: 12.12 kB / 389.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.004152, allocations: 31.97 kB / 389.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.004569, allocations: 264.3 kB / 389.5 MB, free: 7.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.004673, allocations: 58.53 kB / 389.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.004698, allocations: 20.8 kB / 389.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.004705, allocations: 3.938 kB / 389.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.276e-05/0.004798, allocations: 71.38 kB / 389.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.004799, allocations: 0 / 389.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001763/0.004975, allocations: 105.5 kB / 389.8 MB, free: 7.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.005004, allocations: 51.41 kB / 389.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.005072, allocations: 133.5 kB / 390 MB, free: 7.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.005086, allocations: 29.7 kB / 390 MB, free: 7.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.005127, allocations: 100.2 kB / 390.1 MB, free: 7.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.005142, allocations: 19.86 kB / 390.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.005176, allocations: 33.7 kB / 390.1 MB, free: 7.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.48e-05/0.00525, allocations: 326.8 kB / 390.4 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.556e-05/0.005286, allocations: 23.98 kB / 390.5 MB, free: 6.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.005338, allocations: 62 kB / 390.5 MB, free: 6.816 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.005546, allocations: 130.2 kB / 390.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005548, allocations: 0 / 390.7 MB, free: 6.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001296/0.005677, allocations: 129.5 kB / 390.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.005688, allocations: 4 kB / 390.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.005693, allocations: 3.984 kB / 390.8 MB, free: 6.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.005704, allocations: 8.156 kB / 390.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.005745, allocations: 19.94 kB / 390.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.005753, allocations: 0 / 390.8 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.005787, allocations: 19.88 kB / 390.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.005796, allocations: 8 kB / 390.8 MB, free: 6.473 MB / 314.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 9.644e-05/0.005892, allocations: 133.7 kB / 391 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.0059, allocations: 3.953 kB / 391 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.005923, allocations: 16.42 kB / 391 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005925, allocations: 4 kB / 391 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005928, allocations: 3.938 kB / 391 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.005931, allocations: 0 / 391 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.006173, allocations: 290.2 kB / 391.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006174, allocations: 0 / 391.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.441e-05/0.006198, allocations: 11.92 kB / 391.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.0062, allocations: 0 / 391.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006207, allocations: 0 / 391.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.006209, allocations: 0 / 391.3 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00621, allocations: 4 kB / 391.3 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.006359, allocations: 195.4 kB / 391.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.006369, allocations: 7.984 kB / 391.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.006381, allocations: 4 kB / 391.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.006415, allocations: 4 kB / 391.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.006441, allocations: 7.922 kB / 391.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.006451, allocations: 4 kB / 391.5 MB, free: 5.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.8e-05/0.006489, allocations: 99.27 kB / 391.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006489, allocations: 0 / 391.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001807/0.00667, allocations: 35.92 kB / 391.7 MB, free: 5.602 MB / 314.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.0002687/0.006938, allocations: 205.2 kB / 391.9 MB, free: 5.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.007058, allocations: 64.02 kB / 391.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.00706, allocations: 0 / 391.9 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.007095, allocations: 28.23 kB / 391.9 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.007268, allocations: 21.11 kB / 392 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/0.007573, allocations: 206.9 kB / 392.2 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.44e-05/0.007618, allocations: 71.33 kB / 392.2 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.113e-05/0.007639, allocations: 16.5 kB / 392.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.007639, allocations: 3.938 kB / 392.3 MB, free: 4.969 MB / 314.7 MB Notification: Performance of Templates: time 0.002278/0.009917, allocations: 1.705 MB / 394 MB, free: 3.266 MB / 314.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=480 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.53239388205111] Failed to read output from testmodel.py, exit status != 0: 0.014477121643722057 0.02224477 0.017177322000000002 Calling exit ...