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.001289/0.001289, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001505/0.001505, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.777 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.02962/0.02962, allocations: 3.941 MB / 316.4 MB, free: 15.09 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 0.002036/0.002036, allocations: 63.91 kB / 440.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1342, allocations: 54.13 MB / 494.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002389/0.1366, allocations: 0.7857 MB / 495.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009221/0.1375, allocations: 358.8 kB / 495.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.744e-05/0.1376, allocations: 0 / 495.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.1377, allocations: 11.86 kB / 495.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.1378, allocations: 3.938 kB / 495.5 MB, free: 3.734 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.000572/0.1383, allocations: 111.7 kB / 495.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.1385, allocations: 63.83 kB / 495.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1386, allocations: 16.11 kB / 495.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.627e-05/0.1386, allocations: 19.92 kB / 495.7 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.1387, allocations: 23.86 kB / 495.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1387, allocations: 4 kB / 495.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.139, allocations: 123.8 kB / 495.8 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.139, allocations: 11.94 kB / 495.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.766e-05/0.1391, allocations: 23.86 kB / 495.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.1393, allocations: 131.5 kB / 496 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1393, allocations: 0 / 496 MB, free: 3.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1393, allocations: 4 kB / 496 MB, free: 3.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1394, allocations: 0 / 496 MB, free: 3.207 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.0006233/0.14, allocations: 317.9 kB / 496.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.14, allocations: 12.03 kB / 496.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.1401, allocations: 8.891 kB / 496.3 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.1403, allocations: 130.4 kB / 496.5 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.1403, allocations: 8.375 kB / 496.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1404, allocations: 8.328 kB / 496.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1406, allocations: 80.66 kB / 496.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1406, allocations: 7.938 kB / 496.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.1406, allocations: 0 / 496.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1406, allocations: 4 kB / 496.6 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1407, allocations: 31.98 kB / 496.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006716/0.1414, allocations: 268.3 kB / 496.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1416, allocations: 54.56 kB / 496.9 MB, free: 2.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.1417, allocations: 16.84 kB / 496.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1417, allocations: 0 / 496.9 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.1418, allocations: 75.38 kB / 497 MB, free: 2.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1418, allocations: 4 kB / 497 MB, free: 2.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003012/0.1421, allocations: 93.55 kB / 497.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.1422, allocations: 55.41 kB / 497.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1423, allocations: 134 kB / 497.3 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.1423, allocations: 25.7 kB / 497.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.1424, allocations: 92.33 kB / 497.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.314e-05/0.1424, allocations: 31.77 kB / 497.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.817e-05/0.1425, allocations: 37.7 kB / 497.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.1427, allocations: 318.8 kB / 497.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.06e-05/0.1427, allocations: 23.98 kB / 497.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1428, allocations: 66.31 kB / 497.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.1432, allocations: 129.8 kB / 498 MB, free: 1.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1432, allocations: 0 / 498 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002502/0.1434, allocations: 121.5 kB / 498.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1435, allocations: 8.156 kB / 498.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1435, allocations: 4 kB / 498.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1435, allocations: 4 kB / 498.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.1436, allocations: 23.92 kB / 498.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1436, allocations: 4 kB / 498.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.1436, allocations: 11.95 kB / 498.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1437, allocations: 7.938 kB / 498.2 MB, free: 0.8164 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 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.0001728/0.1438, allocations: 137.7 kB / 498.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.1439, allocations: 11.95 kB / 498.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1439, allocations: 8.375 kB / 498.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1439, allocations: 4 kB / 498.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1439, allocations: 0 / 498.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1439, allocations: 0 / 498.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.1443, allocations: 298.1 kB / 498.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1443, allocations: 0 / 498.6 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.1444, allocations: 7.938 kB / 498.6 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1444, allocations: 0 / 498.6 MB, free: 316 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1444, allocations: 3.938 kB / 498.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1444, allocations: 3.984 kB / 498.6 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1444, allocations: 7.938 kB / 498.6 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1447, allocations: 195.5 kB / 498.8 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.1447, allocations: 11.97 kB / 498.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.1448, allocations: 0 / 498.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.1449, allocations: 4 kB / 498.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.1449, allocations: 11.92 kB / 498.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.1449, allocations: 4 kB / 498.9 MB, free: 56 kB / 350.1 MB Notification: Performance of sorting global known variables: time 7.985e-05/0.145, allocations: 94.89 kB / 499 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.145, allocations: 0 / 499 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.1453, allocations: 35.94 kB / 499 MB, free: 15.93 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,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.0004795/0.1458, allocations: 200.8 kB / 499.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.146, allocations: 60.16 kB / 499.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.146, allocations: 4.062 kB / 499.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.1461, allocations: 23.92 kB / 499.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1464, allocations: 15.98 kB / 499.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004722/0.1468, allocations: 182.1 kB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.681e-05/0.1469, allocations: 79.27 kB / 499.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.147, allocations: 12.42 kB / 499.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.729e-05/0.147, allocations: 11.44 kB / 499.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.147, allocations: 0 / 499.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Templates: time 0.005148/0.1522, allocations: 1.442 MB / 0.4893 GB, free: 13.9 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: 4.906660279259086] Failed to read output from testmodel.py, exit status != 0: 0.16025879979133606 0.17724225400000002 0.034604015 Calling exit ...