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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") translateModel(AdvancedNoise.Examples.FaultTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AdvancedNoise_AdvancedNoise.Examples.FaultTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 118.1 kB / 16.42 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009921/0.0009921, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.02591/0.02591, allocations: 3.913 MB / 295.1 MB, free: 11.03 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.39 kB / 407.6 MB, free: 28.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06975/0.07103, allocations: 50.18 MB / 457.8 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001827/0.07289, allocations: 0.779 MB / 458.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.07365, allocations: 370.8 kB / 458.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/0.07373, allocations: 0 / 458.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.968e-05/0.07382, allocations: 7.875 kB / 458.9 MB, free: 8.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.07388, allocations: 15.92 kB / 458.9 MB, free: 8.742 MB / 334.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.000453/0.07435, allocations: 95.7 kB / 459 MB, free: 8.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.07447, allocations: 59.78 kB / 459.1 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.454e-05/0.07456, allocations: 20.11 kB / 459.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.41e-05/0.07462, allocations: 23.92 kB / 459.1 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.07466, allocations: 23.86 kB / 459.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.07469, allocations: 4 kB / 459.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.07487, allocations: 95.91 kB / 459.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.218e-05/0.0749, allocations: 15.91 kB / 459.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.07494, allocations: 23.88 kB / 459.3 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.07516, allocations: 127.6 kB / 459.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.07518, allocations: 0 / 459.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07518, allocations: 0 / 459.4 MB, free: 8.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.07519, allocations: 0 / 459.4 MB, free: 8.258 MB / 334.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.0004869/0.07568, allocations: 387.3 kB / 459.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.07572, allocations: 8.031 kB / 459.8 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.07577, allocations: 12.84 kB / 459.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.07598, allocations: 184.3 kB / 460 MB, free: 7.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.07601, allocations: 8.312 kB / 460 MB, free: 7.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.07604, allocations: 12.31 kB / 460 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.07622, allocations: 73.22 kB / 460.1 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.07624, allocations: 3.938 kB / 460.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.07626, allocations: 0 / 460.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.07627, allocations: 4 kB / 460.1 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.07638, allocations: 27.98 kB / 460.1 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006362/0.07703, allocations: 344.6 kB / 460.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001825/0.07722, allocations: 50.56 kB / 460.5 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.373e-05/0.07729, allocations: 20.84 kB / 460.5 MB, free: 6.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.07731, allocations: 4 kB / 460.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.07746, allocations: 67.39 kB / 460.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.07747, allocations: 0 / 460.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002697/0.07775, allocations: 97.5 kB / 460.7 MB, free: 6.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.07779, allocations: 55.41 kB / 460.7 MB, free: 6.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.0779, allocations: 133.8 kB / 460.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.07793, allocations: 29.7 kB / 460.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.07799, allocations: 99.94 kB / 461 MB, free: 6.469 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.07801, allocations: 15.8 kB / 461 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.07808, allocations: 37.7 kB / 461.1 MB, free: 6.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.07818, allocations: 322.8 kB / 461.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.07826, allocations: 23.98 kB / 461.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.07836, allocations: 72.45 kB / 461.5 MB, free: 5.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.07867, allocations: 125.8 kB / 461.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.07868, allocations: 4 kB / 461.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002441/0.07893, allocations: 121.5 kB / 461.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.07895, allocations: 12.16 kB / 461.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.07897, allocations: 400 / 461.7 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.07898, allocations: 4 kB / 461.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.07908, allocations: 23.86 kB / 461.8 MB, free: 5.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.07909, allocations: 4 kB / 461.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.07917, allocations: 15.84 kB / 461.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.07919, allocations: 7.984 kB / 461.8 MB, free: 5.633 MB / 334.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.0001325/0.07932, allocations: 138.2 kB / 461.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.07935, allocations: 7.906 kB / 461.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.07938, allocations: 4.375 kB / 461.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.07939, allocations: 0 / 461.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.07939, allocations: 7.984 kB / 461.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.07944, allocations: 92.89 kB / 462 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.07946, allocations: 4 kB / 462 MB, free: 5.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.07952, allocations: 4 kB / 462 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.07956, allocations: 7.969 kB / 462 MB, free: 5.344 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002579/0.07982, allocations: 157 kB / 462.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002938/0.08013, allocations: 282.6 kB / 462.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.516e-05/0.0802, allocations: 24.02 kB / 462.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.032e-05/0.08027, allocations: 99.25 kB / 462.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of Backend: time 3.4e-07/0.08028, allocations: 0 / 462.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006253/0.08091, allocations: 207.5 kB / 462.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004374/0.08136, allocations: 0.6126 MB / 463.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of Templates: time 0.003889/0.08526, allocations: 1.398 MB / 464.8 MB, free: 2.531 MB / 334.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.makefile (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)