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.001337/0.001337, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.001516/0.001516, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.521/1.521, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.0328/0.0328, allocations: 3.148 MB / 262.9 MB, free: 13.66 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.002071/0.002071, allocations: 63.91 kB / 386.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1162, allocations: 54.11 MB / 440.8 MB, free: 11.31 MB / 414.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002289/0.1185, allocations: 0.7793 MB / 441.6 MB, free: 10.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.1195, allocations: 370.8 kB / 442 MB, free: 10.17 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.1196, allocations: 4 kB / 442 MB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1197, allocations: 7.875 kB / 442 MB, free: 10.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.1197, allocations: 7.938 kB / 442 MB, free: 10.15 MB / 414.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.0005378/0.1203, allocations: 115.6 kB / 442.1 MB, free: 10.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.1204, allocations: 55.78 kB / 442.2 MB, free: 9.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.1205, allocations: 8.188 kB / 442.2 MB, free: 9.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/0.1206, allocations: 31.91 kB / 442.2 MB, free: 9.938 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.1206, allocations: 19.86 kB / 442.2 MB, free: 9.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1206, allocations: 4 kB / 442.2 MB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.1209, allocations: 127.8 kB / 442.4 MB, free: 9.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.1209, allocations: 7.984 kB / 442.4 MB, free: 9.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.121, allocations: 27.86 kB / 442.4 MB, free: 9.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.1212, allocations: 127.5 kB / 442.5 MB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1212, allocations: 0 / 442.5 MB, free: 9.629 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1212, allocations: 0 / 442.5 MB, free: 9.629 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1212, allocations: 0 / 442.5 MB, free: 9.629 MB / 414.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.0005845/0.1218, allocations: 318.8 kB / 442.8 MB, free: 9.285 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1218, allocations: 8.031 kB / 442.8 MB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.1219, allocations: 12.88 kB / 442.9 MB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1221, allocations: 126.4 kB / 443 MB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.1221, allocations: 8.375 kB / 443 MB, free: 9.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.1222, allocations: 4.375 kB / 443 MB, free: 9.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1223, allocations: 82.09 kB / 443.1 MB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1224, allocations: 3.938 kB / 443.1 MB, free: 9.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1224, allocations: 4 kB / 443.1 MB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1224, allocations: 3.984 kB / 443.1 MB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1225, allocations: 31.98 kB / 443.1 MB, free: 8.977 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006428/0.1231, allocations: 268.4 kB / 443.4 MB, free: 8.684 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.1233, allocations: 54.56 kB / 443.4 MB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.1234, allocations: 20.84 kB / 443.4 MB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.1234, allocations: 0 / 443.4 MB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.1235, allocations: 67.39 kB / 443.5 MB, free: 8.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1235, allocations: 0 / 443.5 MB, free: 8.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003016/0.1238, allocations: 97.55 kB / 443.6 MB, free: 8.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.391e-05/0.1239, allocations: 55.39 kB / 443.7 MB, free: 8.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.124, allocations: 144.3 kB / 443.8 MB, free: 8.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1241, allocations: 25.7 kB / 443.8 MB, free: 8.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.1241, allocations: 100.3 kB / 443.9 MB, free: 8.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.1242, allocations: 15.91 kB / 443.9 MB, free: 8.051 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.1242, allocations: 33.7 kB / 444 MB, free: 8.012 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1244, allocations: 326.8 kB / 444.3 MB, free: 7.684 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.1244, allocations: 19.94 kB / 444.3 MB, free: 7.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1245, allocations: 73.92 kB / 444.4 MB, free: 7.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.1248, allocations: 121.9 kB / 444.5 MB, free: 7.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.1249, allocations: 4 kB / 444.5 MB, free: 7.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002304/0.1251, allocations: 121.5 kB / 444.6 MB, free: 7.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1251, allocations: 4 kB / 444.6 MB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1251, allocations: 4 kB / 444.6 MB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1251, allocations: 0 / 444.6 MB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.1252, allocations: 36.08 kB / 444.7 MB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1252, allocations: 4 kB / 444.7 MB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.1253, allocations: 15.88 kB / 444.7 MB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.1253, allocations: 8.328 kB / 444.7 MB, free: 7.23 MB / 414.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.0001507/0.1254, allocations: 131.7 kB / 444.8 MB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.1255, allocations: 7.953 kB / 444.8 MB, free: 7.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/0.1255, allocations: 8.438 kB / 444.8 MB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1255, allocations: 0 / 444.8 MB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1255, allocations: 4 kB / 444.8 MB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1255, allocations: 7.984 kB / 444.9 MB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004189/0.1259, allocations: 290.1 kB / 445.1 MB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1259, allocations: 0 / 445.1 MB, free: 6.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.126, allocations: 7.938 kB / 445.1 MB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.126, allocations: 3.984 kB / 445.2 MB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.126, allocations: 4 kB / 445.2 MB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.126, allocations: 0 / 445.2 MB, free: 6.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.126, allocations: 3.938 kB / 445.2 MB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1263, allocations: 199.5 kB / 445.4 MB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.1263, allocations: 4.016 kB / 445.4 MB, free: 6.512 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1263, allocations: 8.078 kB / 445.4 MB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1264, allocations: 3.984 kB / 445.4 MB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1264, allocations: 15.92 kB / 445.4 MB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1264, allocations: 0 / 445.4 MB, free: 6.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.011e-05/0.1265, allocations: 95.27 kB / 445.5 MB, free: 6.391 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1265, allocations: 0 / 445.5 MB, free: 6.391 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003109/0.1268, allocations: 39.92 kB / 445.5 MB, free: 6.352 MB / 414.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.0004469/0.1273, allocations: 207.8 kB / 445.7 MB, free: 6.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1275, allocations: 63.91 kB / 445.8 MB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1275, allocations: 0 / 445.8 MB, free: 6.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.1275, allocations: 19.94 kB / 445.8 MB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.1278, allocations: 20.7 kB / 445.8 MB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.1283, allocations: 181.8 kB / 446 MB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.305e-05/0.1284, allocations: 75.33 kB / 446.1 MB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.502e-05/0.1284, allocations: 20.55 kB / 446.1 MB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.1285, allocations: 16.48 kB / 446.1 MB, free: 5.742 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1285, allocations: 4 kB / 446.1 MB, free: 5.738 MB / 414.1 MB Notification: Performance of Templates: time 0.004759/0.1332, allocations: 1.408 MB / 447.5 MB, free: 4.34 MB / 414.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 -s ida -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.595673417090438] Failed to read output from testmodel.py, exit status != 0: 0.1419916229788214 0.156347278 0.032083294000000005 Calling exit ...