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.001929/0.001929, allocations: 107 kB / 16.45 MB, free: 6.453 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.002246/0.002246, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.706/1.706, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.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.0265/0.0265, allocations: 3.912 MB / 312.8 MB, free: 0.5 MB / 238.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 0.001994/0.001994, allocations: 67.91 kB / 435 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1297, allocations: 54.11 MB / 489.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002431/0.1321, allocations: 0.774 MB / 489.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.133, allocations: 374.7 kB / 490.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.1331, allocations: 7.938 kB / 490.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.1332, allocations: 7.922 kB / 490.3 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.1333, allocations: 7.875 kB / 490.3 MB, free: 6.777 MB / 350.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.0004797/0.1337, allocations: 95.72 kB / 490.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1339, allocations: 55.89 kB / 490.5 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.134, allocations: 12.17 kB / 490.5 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.134, allocations: 31.86 kB / 490.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.897e-05/0.1341, allocations: 23.86 kB / 490.5 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1341, allocations: 4 kB / 490.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1343, allocations: 103.8 kB / 490.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.1343, allocations: 11.98 kB / 490.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.1344, allocations: 27.81 kB / 490.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.1346, allocations: 123.6 kB / 490.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1346, allocations: 0 / 490.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1346, allocations: 0 / 490.8 MB, free: 6.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1346, allocations: 3.938 kB / 490.8 MB, free: 6.289 MB / 350.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.0006023/0.1352, allocations: 395 kB / 491.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1353, allocations: 15.98 kB / 491.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.885e-05/0.1353, allocations: 8.891 kB / 491.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.1356, allocations: 180.3 kB / 491.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.1357, allocations: 4.375 kB / 491.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1357, allocations: 8.375 kB / 491.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1359, allocations: 70.22 kB / 491.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1359, allocations: 7.938 kB / 491.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.1359, allocations: 4 kB / 491.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1359, allocations: 3.938 kB / 491.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.136, allocations: 31.97 kB / 491.5 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006931/0.1367, allocations: 340.7 kB / 491.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.1369, allocations: 50.56 kB / 491.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.137, allocations: 16.84 kB / 491.9 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.137, allocations: 8 kB / 491.9 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.1371, allocations: 75.38 kB / 492 MB, free: 4.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.442e-06/0.1371, allocations: 3.938 kB / 492 MB, free: 4.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002814/0.1374, allocations: 97.59 kB / 492.1 MB, free: 4.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.1375, allocations: 59.34 kB / 492.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1376, allocations: 141.7 kB / 492.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1376, allocations: 29.64 kB / 492.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.613e-05/0.1377, allocations: 104 kB / 492.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.1377, allocations: 15.84 kB / 492.4 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.1378, allocations: 37.7 kB / 492.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.138, allocations: 318.8 kB / 492.8 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.1381, allocations: 19.98 kB / 492.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1382, allocations: 75.39 kB / 492.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.1386, allocations: 113.9 kB / 493 MB, free: 3.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1386, allocations: 8 kB / 493 MB, free: 3.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002466/0.1388, allocations: 125.5 kB / 493.1 MB, free: 3.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1389, allocations: 4 kB / 493.1 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1389, allocations: 4 kB / 493.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1389, allocations: 4 kB / 493.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.139, allocations: 19.92 kB / 493.1 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.139, allocations: 4 kB / 493.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.139, allocations: 15.83 kB / 493.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.139, allocations: 8.156 kB / 493.2 MB, free: 3.645 MB / 350.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 0.0001569/0.1392, allocations: 132.1 kB / 493.3 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.1392, allocations: 11.89 kB / 493.3 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.1392, allocations: 8.375 kB / 493.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1393, allocations: 4 kB / 493.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1393, allocations: 0 / 493.3 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1393, allocations: 3.938 kB / 493.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.1398, allocations: 350.6 kB / 493.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1398, allocations: 0 / 493.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.028e-05/0.1398, allocations: 7.984 kB / 493.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1398, allocations: 0 / 493.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1398, allocations: 3.938 kB / 493.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1398, allocations: 0 / 493.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1398, allocations: 3.938 kB / 493.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.1401, allocations: 203.9 kB / 493.9 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.1402, allocations: 81.06 kB / 494 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1402, allocations: 7.969 kB / 494 MB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.1403, allocations: 4 kB / 494 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.1403, allocations: 11.98 kB / 494 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1403, allocations: 4.047 kB / 494 MB, free: 2.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.1404, allocations: 102.3 kB / 494.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1404, allocations: 0 / 494.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1407, allocations: 39.86 kB / 494.1 MB, free: 2.59 MB / 350.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.0004487/0.1412, allocations: 187.5 kB / 494.3 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000233/0.1414, allocations: 67.83 kB / 494.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1414, allocations: 4.312 kB / 494.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.504e-05/0.1415, allocations: 19.98 kB / 494.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.1417, allocations: 12 kB / 494.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.1422, allocations: 174 kB / 494.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1426, allocations: 0.6923 MB / 495.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.1426, allocations: 16.42 kB / 495.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.1426, allocations: 11.44 kB / 495.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1426, allocations: 0 / 495.3 MB, free: 1.379 MB / 350.1 MB Notification: Performance of Templates: time 0.00523/0.1479, allocations: 1.434 MB / 496.7 MB, free: 15.95 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: 5.3218197003006935] Failed to read output from testmodel.py, exit status != 0: 0.15694870427250862 0.18112159600000002 0.042140032 Calling exit ...