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.00145/0.00145, allocations: 104 kB / 16.45 MB, free: 6.457 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.001557/0.001557, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.448/1.448, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.02816/0.02816, allocations: 3.945 MB / 306.6 MB, free: 6.02 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.002028/0.002028, allocations: 63.89 kB / 426.5 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1109, allocations: 52.92 MB / 479.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002148/0.113, allocations: 0.7854 MB / 480.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.1139, allocations: 378.7 kB / 480.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.1139, allocations: 0 / 480.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.114, allocations: 7.875 kB / 480.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.1141, allocations: 11.88 kB / 480.6 MB, free: 14.72 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.000468/0.1145, allocations: 99.7 kB / 480.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1147, allocations: 51.89 kB / 480.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1148, allocations: 16.19 kB / 480.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.1148, allocations: 23.92 kB / 480.8 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.1149, allocations: 27.78 kB / 480.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.1149, allocations: 11.98 kB / 480.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.1151, allocations: 91.91 kB / 481 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.1151, allocations: 11.92 kB / 481 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1152, allocations: 35.8 kB / 481 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.1154, allocations: 123.5 kB / 481.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1154, allocations: 0 / 481.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1154, allocations: 0 / 481.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1154, allocations: 0 / 481.1 MB, free: 14.23 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.0005872/0.116, allocations: 403 kB / 481.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.116, allocations: 12.02 kB / 481.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1161, allocations: 4.938 kB / 481.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1163, allocations: 184.3 kB / 481.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1163, allocations: 4.375 kB / 481.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.1163, allocations: 12.36 kB / 481.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1165, allocations: 70.17 kB / 481.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1165, allocations: 3.938 kB / 481.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1165, allocations: 4 kB / 481.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1166, allocations: 4 kB / 481.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.1167, allocations: 35.97 kB / 481.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007085/0.1174, allocations: 332.7 kB / 482.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.1176, allocations: 50.48 kB / 482.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.603e-05/0.1176, allocations: 24.86 kB / 482.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1176, allocations: 0 / 482.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.1178, allocations: 79.34 kB / 482.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.1178, allocations: 0 / 482.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003194/0.1181, allocations: 97.56 kB / 482.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.1182, allocations: 51.41 kB / 482.5 MB, free: 12.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1183, allocations: 136.4 kB / 482.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1183, allocations: 29.7 kB / 482.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.1184, allocations: 108 kB / 482.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1184, allocations: 15.91 kB / 482.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/0.1185, allocations: 33.7 kB / 482.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.1186, allocations: 318.8 kB / 483.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.1187, allocations: 23.98 kB / 483.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1188, allocations: 77.92 kB / 483.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.1191, allocations: 117.8 kB / 483.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1191, allocations: 4 kB / 483.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002531/0.1194, allocations: 129.5 kB / 483.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1194, allocations: 4 kB / 483.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1194, allocations: 4 kB / 483.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1194, allocations: 0 / 483.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.1195, allocations: 19.94 kB / 483.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.1195, allocations: 4.375 kB / 483.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.1196, allocations: 15.88 kB / 483.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1196, allocations: 12.16 kB / 483.5 MB, free: 11.59 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.0001503/0.1197, allocations: 134.2 kB / 483.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.1198, allocations: 0 / 483.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.1198, allocations: 16.36 kB / 483.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1198, allocations: 0 / 483.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1198, allocations: 0 / 483.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1198, allocations: 3.938 kB / 483.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1203, allocations: 354.5 kB / 484 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1203, allocations: 4 kB / 484 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.1203, allocations: 7.938 kB / 484 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1203, allocations: 0 / 484 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1204, allocations: 7.938 kB / 484 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1204, allocations: 0 / 484 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1204, allocations: 0 / 484 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.1207, allocations: 199.5 kB / 484.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.132e-05/0.1207, allocations: 81.06 kB / 484.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1207, allocations: 7.922 kB / 484.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.527e-05/0.1208, allocations: 4 kB / 484.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.1209, allocations: 4 kB / 484.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1209, allocations: 11.92 kB / 484.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.942e-05/0.1209, allocations: 102.2 kB / 484.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1209, allocations: 3.938 kB / 484.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003193/0.1213, allocations: 35.94 kB / 484.5 MB, free: 10.54 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.0004549/0.1217, allocations: 182.7 kB / 484.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1219, allocations: 64.05 kB / 484.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1219, allocations: 4.312 kB / 484.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.975e-05/0.122, allocations: 24.12 kB / 484.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1223, allocations: 15.92 kB / 484.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004869/0.1228, allocations: 181.8 kB / 484.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1231, allocations: 0.6961 MB / 485.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.1e-05/0.1232, allocations: 16.42 kB / 485.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.1232, allocations: 11.44 kB / 485.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1232, allocations: 0 / 485.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Templates: time 0.004733/0.1279, allocations: 1.44 MB / 487.1 MB, free: 7.891 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.427385380957276] Failed to read output from testmodel.py, exit status != 0: 0.13532519806176424 0.14901361600000002 0.030801089 Calling exit ...