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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.04069/0.04069, allocations: 3.947 MB / 310.2 MB, free: 4.879 MB / 238.1 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.001979/0.001979, allocations: 63.89 kB / 431.7 MB, free: 19.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1093, allocations: 52.97 MB / 484.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.00232/0.1116, allocations: 0.7933 MB / 485.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009548/0.1126, allocations: 370.8 kB / 485.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.207e-05/0.1127, allocations: 11.88 kB / 485.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1128, allocations: 15.92 kB / 485.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.1128, allocations: 7.875 kB / 485.9 MB, free: 13.18 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0005687/0.1134, allocations: 103.7 kB / 486 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.1135, allocations: 55.89 kB / 486.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1136, allocations: 12.17 kB / 486.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.1137, allocations: 27.88 kB / 486.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.611e-05/0.1138, allocations: 19.91 kB / 486.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.1138, allocations: 7.938 kB / 486.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.1141, allocations: 135.7 kB / 486.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.1141, allocations: 8 kB / 486.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.208e-05/0.1141, allocations: 35.8 kB / 486.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002812/0.1144, allocations: 119.6 kB / 486.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1144, allocations: 0 / 486.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1144, allocations: 0 / 486.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1144, allocations: 7.984 kB / 486.4 MB, free: 12.65 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.0006033/0.115, allocations: 330.7 kB / 486.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1151, allocations: 8.031 kB / 486.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.1151, allocations: 8.891 kB / 486.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1154, allocations: 130.4 kB / 486.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.1154, allocations: 8.375 kB / 486.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1154, allocations: 8.375 kB / 486.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1156, allocations: 73.23 kB / 487 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1156, allocations: 3.938 kB / 487 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1157, allocations: 3.984 kB / 487 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.1157, allocations: 4 kB / 487 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.1158, allocations: 31.92 kB / 487 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.1165, allocations: 307.8 kB / 487.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1167, allocations: 46.61 kB / 487.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.1167, allocations: 20.84 kB / 487.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1168, allocations: 3.938 kB / 487.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1169, allocations: 75.31 kB / 487.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1169, allocations: 0 / 487.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003045/0.1172, allocations: 105.8 kB / 487.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.1173, allocations: 51.41 kB / 487.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1174, allocations: 140.5 kB / 487.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.1174, allocations: 25.7 kB / 487.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.1175, allocations: 111.9 kB / 487.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.1175, allocations: 15.89 kB / 487.9 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-05/0.1176, allocations: 41.66 kB / 488 MB, free: 10.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1177, allocations: 318.8 kB / 488.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.1178, allocations: 20 kB / 488.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1179, allocations: 73.98 kB / 488.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.1183, allocations: 121.9 kB / 488.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1183, allocations: 0 / 488.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002586/0.1185, allocations: 121.5 kB / 488.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1185, allocations: 8 kB / 488.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1185, allocations: 0 / 488.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1186, allocations: 12.14 kB / 488.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.1186, allocations: 19.94 kB / 488.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1187, allocations: 0 / 488.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.1187, allocations: 19.81 kB / 488.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.1187, allocations: 12 kB / 488.7 MB, free: 10.19 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.0001441/0.1189, allocations: 113.8 kB / 488.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.1189, allocations: 7.953 kB / 488.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.1189, allocations: 20.36 kB / 488.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1189, allocations: 4 kB / 488.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.119, allocations: 0 / 488.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.119, allocations: 3.938 kB / 488.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.1194, allocations: 317.6 kB / 489.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1194, allocations: 3.984 kB / 489.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.211e-05/0.1195, allocations: 4 kB / 489.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1195, allocations: 0 / 489.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1195, allocations: 7.938 kB / 489.1 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1195, allocations: 4 kB / 489.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1195, allocations: 0 / 489.1 MB, free: 9.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1198, allocations: 199.4 kB / 489.3 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.437e-05/0.1198, allocations: 7.984 kB / 489.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1198, allocations: 7.875 kB / 489.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1199, allocations: 7.984 kB / 489.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.1199, allocations: 0 / 489.4 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.12, allocations: 11.98 kB / 489.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.12, allocations: 109.5 kB / 489.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.12, allocations: 0 / 489.5 MB, free: 9.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003241/0.1204, allocations: 35.94 kB / 489.5 MB, free: 9.266 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,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.0004733/0.1208, allocations: 190.1 kB / 489.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1211, allocations: 63.84 kB / 489.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1211, allocations: 0 / 489.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.205e-05/0.1211, allocations: 19.98 kB / 489.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1214, allocations: 10.81 kB / 489.8 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.1219, allocations: 182.1 kB / 490 MB, free: 8.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.1223, allocations: 0.6924 MB / 490.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.054e-05/0.1223, allocations: 12.42 kB / 490.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.433e-05/0.1223, allocations: 19.42 kB / 490.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1223, allocations: 3.938 kB / 490.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Templates: time 0.005512/0.1279, allocations: 1.473 MB / 492.2 MB, free: 6.586 MB / 350.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.611310791224241] Failed to read output from testmodel.py, exit status != 0: 0.13556706439703703 0.152814624 0.03492911 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f61fa9117b0>