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.0008064/0.0008064, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.000941/0.0009409, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.1779/0.1779, allocations: 3.869 MB / 295 MB, free: 3.988 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002907/0.0002908, allocations: 8 kB / 356.6 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09693/0.09723, allocations: 51.17 MB / 407.8 MB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001031/0.0983, allocations: 0.499 MB / 408.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007038/0.09903, allocations: 359 kB / 408.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.09913, allocations: 7.938 kB / 408.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.111e-05/0.09922, allocations: 3.938 kB / 408.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.09927, allocations: 7.922 kB / 408.7 MB, free: 15.48 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.0004023/0.09968, allocations: 71.86 kB / 408.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.09979, allocations: 51.84 kB / 408.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.084e-05/0.09988, allocations: 24.16 kB / 408.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.499e-05/0.09993, allocations: 11.94 kB / 408.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.09998, allocations: 23.84 kB / 408.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1, allocations: 4 kB / 408.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1002, allocations: 75.92 kB / 408.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.1002, allocations: 15.92 kB / 409 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.1003, allocations: 33.64 kB / 409 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1004, allocations: 79.84 kB / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1004, allocations: 4 kB / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1004, allocations: 0 / 409.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.1005, allocations: 4 kB / 409.1 MB, free: 15.08 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.000496/0.101, allocations: 377.4 kB / 409.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.101, allocations: 12.03 kB / 409.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.101, allocations: 4 kB / 409.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1012, allocations: 186.8 kB / 409.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.1013, allocations: 8 kB / 409.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1013, allocations: 4 kB / 409.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.1015, allocations: 69.66 kB / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1015, allocations: 4 kB / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1015, allocations: 4 kB / 409.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1015, allocations: 7.953 kB / 409.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.717e-05/0.1016, allocations: 31.92 kB / 409.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.1023, allocations: 328.7 kB / 410.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1025, allocations: 54.61 kB / 410.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.1025, allocations: 28.84 kB / 410.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.1025, allocations: 0 / 410.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1027, allocations: 71.33 kB / 410.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1027, allocations: 0 / 410.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002709/0.103, allocations: 89.56 kB / 410.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.1031, allocations: 63.33 kB / 410.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1032, allocations: 137.7 kB / 410.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1032, allocations: 29.7 kB / 410.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.1033, allocations: 95.98 kB / 410.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1033, allocations: 15.8 kB / 410.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.1033, allocations: 7.938 kB / 410.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1034, allocations: 314.8 kB / 411 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-05/0.1035, allocations: 23.98 kB / 411 MB, free: 12.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-05/0.1036, allocations: 72.94 kB / 411.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.098e-05/0.1037, allocations: 31.95 kB / 411.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1037, allocations: 0 / 411.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002262/0.1039, allocations: 141.8 kB / 411.2 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1039, allocations: 4 kB / 411.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.104, allocations: 0 / 411.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.104, allocations: 4 kB / 411.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.254e-05/0.1041, allocations: 27.97 kB / 411.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1041, allocations: 0 / 411.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.1042, allocations: 19.83 kB / 411.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1042, allocations: 4 kB / 411.3 MB, free: 12.62 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 ($whenCondition1,$PRE.faultTrigger.y,$PRE.countFaults.y,countFaults.y,$whenCondition2,faultTrigger.y,faultTrigger.r,globalSeed.seed,globalSeed.id_impure,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.1043, allocations: 133.8 kB / 411.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.1043, allocations: 11.89 kB / 411.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.1044, allocations: 8.375 kB / 411.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1044, allocations: 0 / 411.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1044, allocations: 0 / 411.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1044, allocations: 0 / 411.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.1048, allocations: 346.5 kB / 411.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1048, allocations: 0 / 411.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.981e-05/0.1049, allocations: 16 kB / 411.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1049, allocations: 7.938 kB / 411.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1049, allocations: 0 / 411.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1049, allocations: 3.984 kB / 411.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1049, allocations: 0 / 411.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1052, allocations: 195.4 kB / 412 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.1052, allocations: 92.88 kB / 412.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1053, allocations: 4 kB / 412.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.1053, allocations: 8.062 kB / 412.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.1054, allocations: 7.984 kB / 412.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.1054, allocations: 0 / 412.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.404e-05/0.1055, allocations: 99.27 kB / 412.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1055, allocations: 0 / 412.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002943/0.1058, allocations: 36.12 kB / 412.2 MB, free: 11.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/0.1061, allocations: 185.8 kB / 412.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1063, allocations: 63.89 kB / 412.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1063, allocations: 0 / 412.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.196e-05/0.1064, allocations: 27.92 kB / 412.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.1067, allocations: 22.28 kB / 412.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.1071, allocations: 189.1 kB / 412.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.1073, allocations: 0.6926 MB / 413.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.1074, allocations: 12.42 kB / 413.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.1074, allocations: 15.42 kB / 413.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1074, allocations: 0 / 413.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Templates: time 0.003926/0.1113, allocations: 1.334 MB / 414.8 MB, free: 9.004 MB / 350.1 MB make -j1 -f AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: