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.001145/0.001145, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001248/0.001248, allocations: 177.3 kB / 15.95 MB, free: 216 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.579/1.579, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.1.0-master/package.mo): time 0.2007/0.2007, allocations: 3.868 MB / 294.9 MB, free: 4.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004357, allocations: 8 kB / 356.5 MB, free: 3.605 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 51.17 MB / 407.7 MB, free: 404 kB / 334.1 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001266/0.1224, allocations: 0.503 MB / 408.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008862/0.1233, allocations: 359 kB / 408.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1234, allocations: 0 / 408.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1235, allocations: 3.938 kB / 408.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.1236, allocations: 15.92 kB / 408.6 MB, free: 15.52 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.0006095/0.1242, allocations: 75.72 kB / 408.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1244, allocations: 39.95 kB / 408.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1245, allocations: 8.188 kB / 408.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.1246, allocations: 19.92 kB / 408.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.1246, allocations: 23.84 kB / 408.7 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1246, allocations: 7.938 kB / 408.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.1249, allocations: 59.94 kB / 408.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.1249, allocations: 11.92 kB / 408.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.125, allocations: 29.7 kB / 408.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.1252, allocations: 83.86 kB / 408.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1252, allocations: 4 kB / 408.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1253, allocations: 3.938 kB / 408.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1253, allocations: 0 / 408.9 MB, free: 15.15 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.0007403/0.126, allocations: 379.3 kB / 409.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.1261, allocations: 8.031 kB / 409.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.1261, allocations: 4 kB / 409.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.1264, allocations: 182.9 kB / 409.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.1265, allocations: 4 kB / 409.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1265, allocations: 15.98 kB / 409.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.1267, allocations: 61.67 kB / 409.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.1268, allocations: 4 kB / 409.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1268, allocations: 15.88 kB / 409.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1268, allocations: 0 / 409.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1269, allocations: 35.97 kB / 409.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.1278, allocations: 324.7 kB / 409.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1281, allocations: 58.56 kB / 410 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.1281, allocations: 3.984 kB / 410 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.1283, allocations: 67.52 kB / 410.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1283, allocations: 0 / 410.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002963/0.1286, allocations: 93.56 kB / 410.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1287, allocations: 59.33 kB / 410.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.1288, allocations: 137.7 kB / 410.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1288, allocations: 29.7 kB / 410.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.977e-05/0.1289, allocations: 99.92 kB / 410.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.1289, allocations: 19.8 kB / 410.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1289, allocations: 0 / 410.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1291, allocations: 322.8 kB / 410.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.75e-05/0.1292, allocations: 23.98 kB / 410.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.1293, allocations: 72.52 kB / 410.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.1294, allocations: 31.95 kB / 410.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1294, allocations: 0 / 410.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002662/0.1296, allocations: 133.4 kB / 411.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1297, allocations: 4 kB / 411.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.1297, allocations: 4 kB / 411.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1297, allocations: 4 kB / 411.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.1298, allocations: 23.98 kB / 411.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1298, allocations: 8.328 kB / 411.1 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.218e-05/0.1299, allocations: 11.84 kB / 411.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.1299, allocations: 4 kB / 411.1 MB, free: 12.71 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.0001946/0.1301, allocations: 133.9 kB / 411.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/0.1301, allocations: 11.89 kB / 411.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.1302, allocations: 8.375 kB / 411.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1302, allocations: 4 kB / 411.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1302, allocations: 0 / 411.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1302, allocations: 0 / 411.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.1307, allocations: 354.5 kB / 411.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1307, allocations: 0 / 411.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.1307, allocations: 8 kB / 411.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1307, allocations: 0 / 411.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1308, allocations: 0 / 411.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1308, allocations: 3.984 kB / 411.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1308, allocations: 0 / 411.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.131, allocations: 195.3 kB / 411.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.1311, allocations: 92.88 kB / 411.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.1311, allocations: 12.09 kB / 411.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1312, allocations: 0 / 411.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.1312, allocations: 8.031 kB / 411.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.1313, allocations: 7.984 kB / 412 MB, free: 11.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.067e-05/0.1314, allocations: 99.27 kB / 412.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1314, allocations: 0 / 412.1 MB, free: 11.69 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.1317, allocations: 32.12 kB / 412.1 MB, free: 11.66 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.0003586/0.132, allocations: 174.4 kB / 412.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001747/0.1322, allocations: 63.91 kB / 412.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1322, allocations: 3.938 kB / 412.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.718e-05/0.1323, allocations: 28.59 kB / 412.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.1325, allocations: 26 kB / 412.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.1329, allocations: 185.4 kB / 412.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1332, allocations: 0.7004 MB / 413.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.18e-05/0.1332, allocations: 12.36 kB / 413.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.1332, allocations: 11.44 kB / 413.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1332, allocations: 0 / 413.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Templates: time 0.004111/0.1374, allocations: 1.332 MB / 414.6 MB, free: 9.105 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: