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.00148/0.00148, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001722/0.001722, allocations: 221.8 kB / 23 MB, free: 4.91 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.02777/0.02777, allocations: 3.943 MB / 317.1 MB, free: 15.16 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.002029/0.002029, allocations: 67.89 kB / 440.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09579, allocations: 54.16 MB / 495.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.002036/0.09783, allocations: 0.7624 MB / 495.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.09863, allocations: 370.8 kB / 496.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.09869, allocations: 3.938 kB / 496.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.857e-05/0.09878, allocations: 11.86 kB / 496.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.09882, allocations: 3.938 kB / 496.2 MB, free: 3.828 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.0004597/0.09928, allocations: 107.7 kB / 496.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.09939, allocations: 59.78 kB / 496.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.09947, allocations: 12.17 kB / 496.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.09952, allocations: 23.92 kB / 496.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.123e-05/0.09957, allocations: 27.84 kB / 496.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.09958, allocations: 8 kB / 496.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.09983, allocations: 115.8 kB / 496.6 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.09986, allocations: 15.94 kB / 496.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.0999, allocations: 23.84 kB / 496.6 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1001, allocations: 123.5 kB / 496.7 MB, free: 3.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1001, allocations: 3.984 kB / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1001, allocations: 0 / 496.7 MB, free: 3.312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1001, allocations: 0 / 496.7 MB, free: 3.312 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.0005123/0.1006, allocations: 322.1 kB / 497.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1007, allocations: 12.03 kB / 497.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.1007, allocations: 8.891 kB / 497.1 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1009, allocations: 130.5 kB / 497.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.1009, allocations: 4.375 kB / 497.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.101, allocations: 16.27 kB / 497.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001757/0.1011, allocations: 66.23 kB / 497.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1011, allocations: 3.938 kB / 497.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1012, allocations: 3.984 kB / 497.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1012, allocations: 4 kB / 497.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1013, allocations: 31.98 kB / 497.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1019, allocations: 280.3 kB / 497.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1021, allocations: 54.56 kB / 497.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1021, allocations: 16.84 kB / 497.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1021, allocations: 0 / 497.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.1023, allocations: 71.39 kB / 497.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.1023, allocations: 0 / 497.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002681/0.1025, allocations: 97.55 kB / 497.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.1026, allocations: 55.41 kB / 497.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.1027, allocations: 130 kB / 498 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.1027, allocations: 29.7 kB / 498.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.1028, allocations: 100.3 kB / 498.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.1028, allocations: 27.78 kB / 498.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.1029, allocations: 29.72 kB / 498.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.103, allocations: 326.7 kB / 498.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.807e-05/0.1031, allocations: 27.98 kB / 498.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1032, allocations: 62 kB / 498.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003028/0.1035, allocations: 126.2 kB / 498.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1035, allocations: 4 kB / 498.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002463/0.1038, allocations: 125.5 kB / 498.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1038, allocations: 8 kB / 498.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1038, allocations: 0 / 498.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1038, allocations: 4 kB / 498.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.1039, allocations: 19.92 kB / 498.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1039, allocations: 4 kB / 498.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.1039, allocations: 11.95 kB / 498.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.104, allocations: 12.09 kB / 498.9 MB, free: 0.9141 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.0001485/0.1041, allocations: 129.7 kB / 499.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.1041, allocations: 7.953 kB / 499.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.1041, allocations: 8.375 kB / 499.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1042, allocations: 4 kB / 499.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1042, allocations: 0 / 499.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1042, allocations: 0 / 499.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004235/0.1046, allocations: 294.2 kB / 499.4 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1046, allocations: 4 kB / 499.4 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.657e-05/0.1046, allocations: 7.938 kB / 499.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1046, allocations: 0 / 499.4 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1046, allocations: 4 kB / 499.4 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1046, allocations: 0 / 499.4 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1046, allocations: 3.938 kB / 499.4 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1049, allocations: 195.5 kB / 499.6 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.1049, allocations: 7.984 kB / 499.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.105, allocations: 8 kB / 499.6 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.105, allocations: 7.984 kB / 499.6 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.1051, allocations: 8 kB / 499.6 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1051, allocations: 11.92 kB / 499.6 MB, free: 164 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.1052, allocations: 98.14 kB / 499.7 MB, free: 68 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1052, allocations: 0 / 499.7 MB, free: 68 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000294/0.1054, allocations: 39.88 kB / 499.7 MB, free: 28 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.0004486/0.1059, allocations: 196.4 kB / 499.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.1061, allocations: 59.91 kB / 500 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.1061, allocations: 0 / 500 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.953e-05/0.1062, allocations: 23.92 kB / 0.4883 GB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1064, allocations: 15.94 kB / 0.4883 GB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.1069, allocations: 216.1 kB / 0.4885 GB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.107, allocations: 79.27 kB / 0.4886 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.107, allocations: 15.42 kB / 0.4886 GB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.107, allocations: 0 / 0.4886 GB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.003687/0.1107, allocations: 1.687 MB / 0.4903 GB, free: 13.72 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.336782635189593] Failed to read output from testmodel.py, exit status != 0: 0.11790001159533858 0.133628836 0.030435775 Calling exit ...