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.0007825/0.0007825, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.0008767/0.0008767, allocations: 173 kB / 23.49 MB, free: 1.055 MB / 18.57 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.03577/0.03577, allocations: 3.156 MB / 263.4 MB, free: 10.13 MB / 250.7 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 1.412e-06/1.412e-06, allocations: 0 / 333.5 MB, free: 16.38 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.093e-05, allocations: 4.422 kB / 333.5 MB, free: 16.37 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001185/0.001206, allocations: 0.783 MB / 334.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004813/0.001687, allocations: 370.6 kB / 334.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.001743, allocations: 4 kB / 334.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.53e-05/0.001828, allocations: 11.88 kB / 334.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.982e-05/0.001868, allocations: 7.875 kB / 334.6 MB, free: 15.2 MB / 266.7 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.0003776/0.002245, allocations: 115.5 kB / 334.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.002328, allocations: 55.83 kB / 334.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.002406, allocations: 12.17 kB / 334.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.002446, allocations: 31.91 kB / 334.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.343e-05/0.002479, allocations: 23.91 kB / 334.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.002493, allocations: 4 kB / 334.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.002638, allocations: 115.8 kB / 335 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.002653, allocations: 19.98 kB / 335 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.00268, allocations: 23.91 kB / 335 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.002845, allocations: 119.6 kB / 335.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002847, allocations: 0 / 335.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.002848, allocations: 0 / 335.1 MB, free: 14.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.002851, allocations: 4 kB / 335.2 MB, free: 14.68 MB / 266.7 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.0003568/0.003208, allocations: 423.9 kB / 335.6 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.003239, allocations: 8.031 kB / 335.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.00328, allocations: 16.83 kB / 335.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.003397, allocations: 136.5 kB / 335.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.003414, allocations: 12.36 kB / 335.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.003433, allocations: 8.375 kB / 335.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.003549, allocations: 78.3 kB / 335.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.003556, allocations: 192 / 335.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.003566, allocations: 4.375 kB / 335.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.003573, allocations: 4.125 kB / 335.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.03e-05/0.003613, allocations: 19.92 kB / 335.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.004014, allocations: 327.6 kB / 336.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.0041, allocations: 47.11 kB / 336.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.895e-05/0.004119, allocations: 19.62 kB / 336.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.004126, allocations: 0 / 336.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.868e-05/0.004205, allocations: 73.05 kB / 336.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.004206, allocations: 0 / 336.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001542/0.00436, allocations: 89.59 kB / 336.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.004385, allocations: 55.34 kB / 336.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.95e-05/0.004445, allocations: 190 kB / 336.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.004452, allocations: 25.7 kB / 336.7 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.004483, allocations: 146.9 kB / 336.8 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.004498, allocations: 23.84 kB / 336.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.00453, allocations: 47.36 kB / 336.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.004565, allocations: 0.4922 MB / 337.4 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.004591, allocations: 11.98 kB / 337.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.004629, allocations: 80.61 kB / 337.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.894e-05/0.004708, allocations: 109.7 kB / 337.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.00471, allocations: 0 / 337.6 MB, free: 12.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001048/0.004814, allocations: 117.5 kB / 337.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004825, allocations: 7.984 kB / 337.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.00483, allocations: 4 kB / 337.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004842, allocations: 0 / 337.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.004892, allocations: 23.94 kB / 337.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.004898, allocations: 7.984 kB / 337.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.288e-05/0.004931, allocations: 11.89 kB / 337.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.004937, allocations: 4 kB / 337.7 MB, free: 11.83 MB / 266.7 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 8.286e-05/0.00502, allocations: 182.7 kB / 337.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.00503, allocations: 7.953 kB / 337.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.084e-05/0.005051, allocations: 12.42 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.005053, allocations: 4 kB / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.005056, allocations: 0 / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.00506, allocations: 0 / 337.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.005256, allocations: 337.4 kB / 338.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005257, allocations: 3.984 kB / 338.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.005281, allocations: 4 kB / 338.3 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.005283, allocations: 7.938 kB / 338.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.005291, allocations: 3.984 kB / 338.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005292, allocations: 0 / 338.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005293, allocations: 0 / 338.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.005398, allocations: 236.4 kB / 338.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.005406, allocations: 15.89 kB / 338.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.005418, allocations: 0 / 338.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-05/0.005453, allocations: 3.984 kB / 338.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.005482, allocations: 8 kB / 338.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.005492, allocations: 7.984 kB / 338.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.324e-05/0.005515, allocations: 139.2 kB / 338.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005515, allocations: 0 / 338.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.005705, allocations: 39.88 kB / 338.7 MB, free: 10.77 MB / 266.7 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.0002897/0.005995, allocations: 203.3 kB / 338.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.006102, allocations: 63.59 kB / 339 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006104, allocations: 0 / 339 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.006132, allocations: 27.66 kB / 339 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.006317, allocations: 15.92 kB / 339 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.006583, allocations: 184.4 kB / 339.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.266e-05/0.006606, allocations: 63.66 kB / 339.3 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.198e-05/0.006638, allocations: 16.8 kB / 339.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.006656, allocations: 12.5 kB / 339.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.006657, allocations: 0 / 339.3 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Templates: time 0.002801/0.009458, allocations: 1.462 MB / 340.8 MB, free: 8.715 MB / 266.7 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=240 -lv LOG_STATS > AdvancedNoise_AdvancedNoise.Examples.FaultTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.821843285812065]