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.00153/0.00153, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001647/0.001647, allocations: 217.2 kB / 23.01 MB, free: 5.125 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.375/1.375, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.02648/0.02648, allocations: 3.931 MB / 317.1 MB, free: 15.33 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.001881/0.001881, allocations: 64.05 kB / 441 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1139, allocations: 54.15 MB / 495.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002472/0.1164, allocations: 0.8029 MB / 496 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.1174, allocations: 374.7 kB / 496.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1175, allocations: 4 kB / 496.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.1176, allocations: 11.86 kB / 496.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.1176, allocations: 7.922 kB / 496.3 MB, free: 4.023 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.0006177/0.1182, allocations: 103.7 kB / 496.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1183, allocations: 63.77 kB / 496.5 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1185, allocations: 12.17 kB / 496.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.1185, allocations: 19.94 kB / 496.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.39e-05/0.1186, allocations: 35.83 kB / 496.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1186, allocations: 4 kB / 496.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.1189, allocations: 127.8 kB / 496.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1189, allocations: 8 kB / 496.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.119, allocations: 31.8 kB / 496.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1192, allocations: 127.5 kB / 496.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1192, allocations: 0 / 496.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1192, allocations: 0 / 496.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1192, allocations: 0 / 496.9 MB, free: 3.496 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.0006423/0.1198, allocations: 318.9 kB / 497.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1199, allocations: 12.03 kB / 497.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1199, allocations: 12.89 kB / 497.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1202, allocations: 126.4 kB / 497.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.1202, allocations: 12.3 kB / 497.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1202, allocations: 12.33 kB / 497.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.1205, allocations: 66.23 kB / 497.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1205, allocations: 3.938 kB / 497.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1205, allocations: 0 / 497.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1205, allocations: 7.984 kB / 497.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1206, allocations: 35.98 kB / 497.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.1214, allocations: 311.7 kB / 497.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1216, allocations: 42.62 kB / 497.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.1217, allocations: 20.84 kB / 497.8 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1217, allocations: 3.938 kB / 497.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.1218, allocations: 71.39 kB / 497.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1218, allocations: 0 / 497.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003612/0.1222, allocations: 97.55 kB / 498 MB, free: 2.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1222, allocations: 51.41 kB / 498.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1224, allocations: 148.4 kB / 498.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1224, allocations: 25.7 kB / 498.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.1225, allocations: 96.08 kB / 498.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1225, allocations: 27.84 kB / 498.3 MB, free: 1.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1226, allocations: 41.64 kB / 498.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1227, allocations: 318.8 kB / 498.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.91e-05/0.1228, allocations: 16 kB / 498.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.123, allocations: 77.92 kB / 498.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.1233, allocations: 117.9 kB / 498.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1233, allocations: 4 kB / 498.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003022/0.1236, allocations: 125.4 kB / 499 MB, free: 1.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1237, allocations: 10.5 kB / 499 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1237, allocations: 0 / 499 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1237, allocations: 4 kB / 499 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.053e-05/0.1238, allocations: 19.98 kB / 499.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1238, allocations: 4 kB / 499.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.607e-05/0.1238, allocations: 15.88 kB / 499.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.1238, allocations: 4 kB / 499.1 MB, free: 1.055 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.0001844/0.124, allocations: 138.5 kB / 499.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.321e-05/0.1241, allocations: 11.98 kB / 499.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.1241, allocations: 12.38 kB / 499.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1241, allocations: 3.984 kB / 499.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1241, allocations: 3.938 kB / 499.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1241, allocations: 3.938 kB / 499.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.1246, allocations: 321.6 kB / 499.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1246, allocations: 4 kB / 499.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.625e-05/0.1247, allocations: 11.92 kB / 499.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1247, allocations: 0 / 499.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1247, allocations: 7.938 kB / 499.6 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1247, allocations: 0 / 499.6 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1248, allocations: 0 / 499.6 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.1251, allocations: 195.5 kB / 499.8 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.1251, allocations: 7.984 kB / 499.8 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.1252, allocations: 8 kB / 499.8 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.1252, allocations: 7.984 kB / 499.8 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.1253, allocations: 3.938 kB / 499.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1253, allocations: 7.984 kB / 499.8 MB, free: 252 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.1253, allocations: 99.27 kB / 499.9 MB, free: 152 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1253, allocations: 0 / 499.9 MB, free: 152 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1257, allocations: 35.94 kB / 500 MB, free: 116 kB / 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,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.0005237/0.1262, allocations: 188.1 kB / 0.4884 GB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002815/0.1265, allocations: 59.91 kB / 0.4885 GB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1265, allocations: 4 kB / 0.4885 GB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.362e-05/0.1265, allocations: 24.23 kB / 0.4885 GB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.1268, allocations: 15.94 kB / 0.4885 GB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.1274, allocations: 200.1 kB / 0.4887 GB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1278, allocations: 0.6924 MB / 0.4894 GB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.1278, allocations: 15.42 kB / 0.4894 GB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1278, allocations: 3.938 kB / 0.4894 GB, free: 14.88 MB / 366.1 MB Notification: Performance of Templates: time 0.005108/0.1329, allocations: 1.694 MB / 0.4911 GB, free: 13.19 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: 7.491877228952944] Failed to read output from testmodel.py, exit status != 0: 0.14155071298591793 0.160527592 0.037815789 Calling exit ...