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.001256/0.001256, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001775/0.003031, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001095/0.001095, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002274, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.043/1.043, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1175/1.16, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-master/package.mo): time 0.04244/0.04244, allocations: 3.154 MB / 247.3 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003501/0.04594, allocations: 1.204 MB / 248.5 MB, free: 10.59 MB / 250.7 MB " [Timeout remaining time 180] Using package AdvancedNoise with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AdvancedNoise 1.2.0-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 2.805e-06/2.805e-06, allocations: 3.984 kB / 249.8 MB, free: 9.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.164e-05, allocations: 2.312 kB / 249.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(AdvancedNoise.Examples.FaultTrigger): time 0.001849/0.001881, allocations: 0.8459 MB / 250.6 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006819/0.002563, allocations: 386.5 kB / 251 MB, free: 8.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.073e-05/0.002644, allocations: 4 kB / 251 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.433e-05/0.002708, allocations: 7.875 kB / 251 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.257e-05/0.00275, allocations: 7.875 kB / 251 MB, free: 8.055 MB / 250.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.0003877/0.003138, allocations: 103.6 kB / 251.1 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.00326, allocations: 51.84 kB / 251.2 MB, free: 7.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.003347, allocations: 24.05 kB / 251.2 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.003421, allocations: 31.97 kB / 251.2 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.003473, allocations: 23.91 kB / 251.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.003489, allocations: 8 kB / 251.3 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.003715, allocations: 127.7 kB / 251.4 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.003741, allocations: 11.94 kB / 251.4 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.003768, allocations: 15.94 kB / 251.4 MB, free: 7.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.003962, allocations: 103.6 kB / 251.5 MB, free: 7.559 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.003976, allocations: 0 / 251.5 MB, free: 7.559 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.003978, allocations: 0 / 251.5 MB, free: 7.559 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.003991, allocations: 0 / 251.5 MB, free: 7.559 MB / 250.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.0005268/0.004517, allocations: 304.2 kB / 251.8 MB, free: 7.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.004554, allocations: 12.03 kB / 251.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.004594, allocations: 12.94 kB / 251.8 MB, free: 7.215 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.004755, allocations: 129.6 kB / 252 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.004778, allocations: 8.375 kB / 252 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.004801, allocations: 8.359 kB / 252 MB, free: 7.047 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.004926, allocations: 74.55 kB / 252 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.004935, allocations: 192 / 252 MB, free: 6.969 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004943, allocations: 4.375 kB / 252.1 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.004956, allocations: 8.125 kB / 252.1 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.889e-05/0.004985, allocations: 8 kB / 252.1 MB, free: 6.949 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.005408, allocations: 208.1 kB / 252.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.589e-05/0.005504, allocations: 42.55 kB / 252.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.00552, allocations: 12.8 kB / 252.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.005527, allocations: 0 / 252.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.285e-05/0.00562, allocations: 63.38 kB / 252.4 MB, free: 6.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.005621, allocations: 4 kB / 252.4 MB, free: 6.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001318/0.005753, allocations: 65.59 kB / 252.5 MB, free: 6.516 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.00579, allocations: 51.41 kB / 252.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.005868, allocations: 134.6 kB / 252.6 MB, free: 6.309 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.005886, allocations: 25.7 kB / 252.7 MB, free: 6.277 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.005948, allocations: 100.3 kB / 252.8 MB, free: 6.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.005972, allocations: 23.83 kB / 252.8 MB, free: 6.148 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.006018, allocations: 45.67 kB / 252.8 MB, free: 6.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.006145, allocations: 318.8 kB / 253.1 MB, free: 5.777 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-05/0.006169, allocations: 11.98 kB / 253.1 MB, free: 5.766 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.945e-05/0.006218, allocations: 57.94 kB / 253.2 MB, free: 5.688 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.989e-05/0.006298, allocations: 77.91 kB / 253.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.006301, allocations: 3.938 kB / 253.3 MB, free: 5.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001229/0.006424, allocations: 101.4 kB / 253.4 MB, free: 5.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.006438, allocations: 8 kB / 253.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.006444, allocations: 0 / 253.4 MB, free: 5.473 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.006464, allocations: 4 kB / 253.4 MB, free: 5.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.713e-05/0.006541, allocations: 23.98 kB / 253.4 MB, free: 5.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006546, allocations: 4 kB / 253.4 MB, free: 5.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.006579, allocations: 8.109 kB / 253.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.006587, allocations: 15.92 kB / 253.4 MB, free: 5.418 MB / 250.7 MB 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.seed,globalSeed.id_impure,faultTrigger.r,faultTrigger.y,$whenCondition2,countFaults.local_reset,countFaults.local_set,faultTrigger.reset,one.y) * 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 7.813e-05/0.006666, allocations: 117.8 kB / 253.6 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.006677, allocations: 11.98 kB / 253.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.006703, allocations: 16.41 kB / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.006706, allocations: 0 / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.006708, allocations: 0 / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.006713, allocations: 0 / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002566/0.00697, allocations: 230.7 kB / 253.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006971, allocations: 0 / 253.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.006999, allocations: 8 kB / 253.8 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.007019, allocations: 11.94 kB / 253.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00702, allocations: 0 / 253.8 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.00703, allocations: 4 kB / 253.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007031, allocations: 0 / 253.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007033, allocations: 0 / 253.8 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.007169, allocations: 167.9 kB / 254 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.007183, allocations: 0 / 254 MB, free: 4.812 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.007218, allocations: 8 kB / 254 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.007246, allocations: 3.984 kB / 254 MB, free: 4.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.007255, allocations: 8.031 kB / 254 MB, free: 4.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.147e-05/0.007276, allocations: 20.83 kB / 254 MB, free: 4.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007276, allocations: 0 / 254 MB, free: 4.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.007483, allocations: 35.94 kB / 254.1 MB, free: 4.734 MB / 250.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,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 (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.0003882/0.007871, allocations: 225.5 kB / 254.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.008039, allocations: 56.83 kB / 254.4 MB, free: 4.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.008045, allocations: 4 kB / 254.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.008076, allocations: 24.84 kB / 254.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.008235, allocations: 27.86 kB / 254.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.008509, allocations: 173.2 kB / 254.6 MB, free: 4.254 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.678e-05/0.008546, allocations: 63.34 kB / 254.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.603e-05/0.008582, allocations: 16.94 kB / 254.7 MB, free: 4.156 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.008631, allocations: 59.38 kB / 254.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of SimCode: time 1.182e-06/0.008632, allocations: 0 / 254.7 MB, free: 4.098 MB / 250.7 MB Notification: Performance of Templates: time 0.003507/0.01214, allocations: 1.644 MB / 256.4 MB, free: 2.465 MB / 250.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.6853740755468607]